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: Playerenter

Previous Thread :: Next Thread 
COMMANDERREX12345345 is not online. COMMANDERREX12345345
Joined: 18 Jun 2009
Total Posts: 1316
06 Feb 2013 05:55 AM
function onPlayerEntered(player)
fg = game.Lighting.FADING:Clone()
fg.Parent = player.PlayerGui
end

game.Players.PlayerAdded:connect(onPlayerEntered)



see anything wrong? My output crashes :/
Report Abuse
ultralegomaster5096 is not online. ultralegomaster5096
Joined: 17 Jan 2011
Total Posts: 4351
06 Feb 2013 06:07 AM
Sometimes PlayerGui isn't added the instant the player is added. Add a delay in.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
06 Feb 2013 06:54 AM
You should add what your output says here, but most likely problem is with PlayerGui apearing with delay.
Report Abuse
777MrEpic is not online. 777MrEpic
Joined: 17 Oct 2012
Total Posts: 3998
06 Feb 2013 07:00 AM
First, I see a problem:

No elseif
It could break any time.
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
06 Feb 2013 07:01 AM
[ Content Deleted ]
Report Abuse
777MrEpic is not online. 777MrEpic
Joined: 17 Oct 2012
Total Posts: 3998
06 Feb 2013 07:03 AM
I have seen them though, without, maybe it was loadstring and added?

elseif
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
06 Feb 2013 07:05 AM
[ Content Deleted ]
Report Abuse
777MrEpic is not online. 777MrEpic
Joined: 17 Oct 2012
Total Posts: 3998
06 Feb 2013 07:06 AM
Sorry
qq
I am new to scripting still
33 Lines of real code is the best I made, :c.
Its broke still needs fixing
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
06 Feb 2013 07:40 AM
I held enter for few mins. I have 632 line long code, n00b!
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
06 Feb 2013 07:53 AM
[ Content Deleted ]
Report Abuse
ultralegomaster5096 is not online. ultralegomaster5096
Joined: 17 Jan 2011
Total Posts: 4351
06 Feb 2013 08:02 AM
Eventually you can crash Roblox if you paste too many characters at once too fast.

Same for Notepad. And probably any other text editor.

Also, for le lines: Execute this in command bar:
Instance.new("Script",game.Workspace).Source = string.rep("\n",2^20)

Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
06 Feb 2013 08:11 AM
why no string.rep("\n",math.huge)??
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