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: Why this doesn't work?

Previous Thread :: Next Thread 
uyoy is not online. uyoy
Joined: 12 Mar 2012
Total Posts: 2260
02 Nov 2013 12:05 AM
game.Players.PlayerAdded:connect(function(nP)
if nP.TeamColor == BrickColor.new("Cyan") then
nP.Chatted:connect(function(msg)
if string.lower(msg) == "close arena" then
x = game.Lighting.Arena:Clone()
wait()
x.Parent = game.Workspace
end
end)
end
end)
Report Abuse
uyoy is not online. uyoy
Joined: 12 Mar 2012
Total Posts: 2260
02 Nov 2013 12:09 AM
Bump.
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
02 Nov 2013 12:10 AM
Please wait 12-24 hours in between bumps, It takes around 4 hours to write a script this complex
Report Abuse
flatline115 is not online. flatline115
Joined: 29 Jul 2013
Total Posts: 7826
02 Nov 2013 12:11 AM
Output. If you don't know how to get it in game look up Remote erroring whatever
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
02 Nov 2013 12:12 AM
I think you need to have ends in beetween functions try this...

game.Players.PlayerAdded:connect(function(nP)
if nP.TeamColor == BrickColor.new("Cyan") then
end
end)
nP.Chatted:connect(function(msg)
if string.lower(msg) == "close arena" then
x = game.Lighting.Arena:Clone()
wait()
x.Parent = game.Workspace
end
end)
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