|
| 18 Dec 2013 10:24 PM |
game.Players.PlayerAdded:connect(function(p) p.Chatted:connect(function(msg) if game.Workspace.Pirate.IsPlaying == false then msg = msg:lower() if (msg == "yar") then game.Workspace.Pirate:play() game.Lighting.FogEnd = 100 wait(1) game.Lighting.Ambient = Color3.new(255,0,0) wait(13) game.Lighting.Ambient = Color3.new(0,0,0) game.Lighting.FogEnd = 100000 end end end)
end)
Help me fix it please.
~If you do that, I'll take out my stick and poke you |
|
|
| Report Abuse |
|
|
| 18 Dec 2013 10:29 PM |
Try this(Idk if it will work?):
game.Players.PlayerAdded:connect(function(p) p.Chatted:connect(function(msg) if game.Workspace.Pirate.IsPlaying == false then msg = msg:lower() if (msg == "yar") then game.Workspace.Pirate:play() game.Lighting.FogEnd = 100 wait(1) game.Lighting.Ambient = Color3.new(255,0,0) wait(13) game.Workspace.Pirate:stop() game.Lighting.Ambient = Color3.new(0,0,0) game.Lighting.FogEnd = 100000 end end end)
end |
|
|
| Report Abuse |
|