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: Help please.

Previous Thread :: Next Thread 
pmcdonough is not online. pmcdonough
Joined: 04 Mar 2011
Total Posts: 3638
01 Sep 2012 10:59 PM
function onEntered(PlayerName)
game.WorkSpace.PlayerName = ("noob")
game.WorkSpace.PlayerName = onEntered
end

game.WorkSpace.S:Execute(onEntered)

OutPut doesn't say anything is wrong, yet it won't work, (I'm new...)
Report Abuse
TaslemGuy is not online. TaslemGuy
Joined: 10 Jun 2009
Total Posts: 12174
01 Sep 2012 11:01 PM
Scripting isn't magic.

It's logic.

Your script obeys no logic to describe what you're supposed to be doing.
Report Abuse
pmcdonough is not online. pmcdonough
Joined: 04 Mar 2011
Total Posts: 3638
02 Sep 2012 02:22 PM
function onEntered(p)
game.Players.PlayerName = ("noob")
game.Workspace.PlayerName = onEntered
end

S1.Parent.onEntered:connect (p)

Edited, and OutPost says it I can't use S1, as it is a nil value, (and above, it does contain the rules of scripting, and it should eventually, work, but thanks for the comment.)
Report Abuse
xXTheRobotXx is not online. xXTheRobotXx
Joined: 05 May 2012
Total Posts: 13343
02 Sep 2012 02:25 PM
What are you trying to do?
Report Abuse
pmcdonough is not online. pmcdonough
Joined: 04 Mar 2011
Total Posts: 3638
02 Sep 2012 02:31 PM
Well, this is the base plate, I will add a in the needed details, I'm trying to make it so people who are doing bad things or breaking the rules will have the name ("noob") above them. I really suck at scripting but I don't see what is wrong with it.
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