generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: I don't get why this doesent work???

Previous Thread :: Next Thread 
Moolah101 is not online. Moolah101
Joined: 22 Sep 2010
Total Posts: 614
27 May 2012 06:34 AM
Why doesent this work?:

Instance.new("HopperBin",Players.LocalPlayer.Backpack)

But why does this work?:

p = game.Players.LocalPlayer
x = Instance.new("HopperBin")
x.Parent = p.Backpack

The way i see it, both is supposed to work, so why doesent the first script i posted here, work? It doesent work.
Report Abuse
MrMcAero is not online. MrMcAero
Joined: 21 Apr 2012
Total Posts: 671
27 May 2012 06:50 AM
Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)

MrMcAero
Report Abuse
Moolah101 is not online. Moolah101
Joined: 22 Sep 2010
Total Posts: 614
27 May 2012 07:00 AM
Kkthx, im to lazy to test it, but i will later...
Report Abuse
Tenal is not online. Tenal
Joined: 15 May 2011
Total Posts: 18684
27 May 2012 07:55 AM
You have to do game.Players instead of just Players.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image