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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: why doesnt this script work..

Previous Thread :: Next Thread 
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
17 Aug 2012 07:24 PM
wait(10)
game.Players.PlayerAdded:connect(function(NewPlayer)
game.Lighting["Pla2"]:clone().Parent = NewPlayer.PlayerGui
end)
Report Abuse
Sharpshooter26 is not online. Sharpshooter26
Joined: 26 May 2010
Total Posts: 5166
17 Aug 2012 07:25 PM
Idk, why doesnt it?
Report Abuse
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
17 Aug 2012 07:26 PM
@Sharp
That's very helpfull thanks, I'll do that now.
Report Abuse
DonnyTheDemented is not online. DonnyTheDemented
Joined: 29 May 2010
Total Posts: 1413
17 Aug 2012 07:26 PM
game.Players.PlayerAdded:connect(function(NewPlayer)
repeat wait() until NewPlayer:FindFirstChild("PlayerGui") -- need to wait for it to load
game.Lighting["Pla2"]:clone().Parent = NewPlayer.PlayerGui
end)
Report Abuse
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
17 Aug 2012 09:49 PM
still doesnt work
Report Abuse
leolion113 is not online. leolion113
Joined: 11 Oct 2008
Total Posts: 3336
17 Aug 2012 09:56 PM
Donny does not have any issues I can see, so it should work. If it doesn't please post the output, and please make sure you have not made a silly mistake (E.g. Disabled the script or gone into Play Solo, edited the script and merely disabled then enabled it)
Report Abuse
Keyrut is not online. Keyrut
Joined: 23 Nov 2011
Total Posts: 6501
17 Aug 2012 10:02 PM
nothin's wrong with it, it should be in a local script correct? and should be in workspace?
Report Abuse
Destroshun is not online. Destroshun
Joined: 12 Aug 2012
Total Posts: 764
17 Aug 2012 10:04 PM
Not localscript, in workspace
Report Abuse
Destroshun is not online. Destroshun
Joined: 12 Aug 2012
Total Posts: 764
17 Aug 2012 10:04 PM
Not localscript, in workspace
Report Abuse
Destroshun is not online. Destroshun
Joined: 12 Aug 2012
Total Posts: 764
17 Aug 2012 10:05 PM
Woah, first lag post woot :P
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