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
 

What is wrong?

Previous Thread :: Next Thread 
IIlIlIlII is not online. IIlIlIlII
Joined: 18 Nov 2012
Total Posts: 50
25 Nov 2012 02:01 PM
I know I did something stupid to mess it up:

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(msg)
if (msg == "yes sir") then
game.Workspace.YesSirBrick.Loop:Play()
end
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
25 Nov 2012 02:03 PM
game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(msg)
if (msg == "yes sir") then
game.Workspace.YesSirBrick.Loop:Play()
end
end)--Chatted event
end)--Playeradded event
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
25 Nov 2012 02:03 PM
You're missing two ends.

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(msg)
if (msg == "yes sir") then
game.Workspace.YesSirBrick.Loop:Play()
end
end)
end)

http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
25 Nov 2012 02:04 PM
darn you miz

http://wiki.roblox.com/index.php/User:ElectricBlaze
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