baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
| |
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
| |
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
| |
|
shonclub
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1331 |
|
|
| 24 Aug 2013 10:45 PM |
game.Players.PlayerAdded:connect(function(added) added.CharacterAdded:connect(function(char)
if char.Name == "baheeg" or char.Name == "abdula987" then added.Chatted:connect(function(chat) if chat == "disco" then for i,v in pairs(game.Workspace:GetChildren()) do if v:IsA("Part") then v.Color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) -- 0 - 255/255 for color3.new wait(10) v.BrickColor = BrickColor.new("Medium stone grey") end end end end) end
end) end)
|
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
| |
|
shonclub
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1331 |
|
|
| 24 Aug 2013 10:57 PM |
Oh, derp
game.Players.PlayerAdded:connect(function(added) added.CharacterAdded:connect(function(char)
if char.Name == "baheeg" or char.Name == "abdula987" then added.Chatted:connect(function(chat) if chat == "disco" then for i,v in pairs(game.Workspace:GetChildren()) do if v:IsA("Part") then v.Color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) -- 0 - 255/255 for color3.new end end wait(10) v.BrickColor = BrickColor.new("Medium stone grey") end end end end) end
end) end) |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
| |
|
shonclub
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1331 |
|
|
| 24 Aug 2013 11:01 PM |
game.Players.PlayerAdded:connect(function(added) added.CharacterAdded:connect(function(char)
if char.Name == "baheeg" or char.Name == "abdula987" then added.Chatted:connect(function(chat) if chat == "disco" then for i,v in pairs(game.Workspace:GetChildren()) do if v:IsA("Part") then v.Color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) end end wait(10) v.BrickColor = BrickColor.new("Medium stone grey") end end end end) end
end) end)
I just ereased the comments, any output? |
|
|
| Report Abuse |
|
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
| |
|
baheeg
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 72846 |
|
| |
|
|
| 25 Aug 2013 02:58 AM |
local Chatted = false game.Players.PlayerAdded:connect(function(added) added.Chatted:connect(function(chat) if added.Name == "baheeg" or added.Name == "abdula987" then if chat == "disco" and not Chatted then Chatted = true for Index, Child in pairs(Workspace:GetChildren()) do if Child:IsA("BasePart") then Child.BrickColor = BrickColor.Random() wait(10) Child.BrickColor = BrickColor.new("Medium stone grey") Chatted = false end end end end end) end) |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2013 03:00 AM |
| No, that won't work as expected, give me a minute. |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2013 03:09 AM |
local Chatted = false game.Players.PlayerAdded:connect(function(added) added.Chatted:connect(function(chat) if added.Name == "baheeg" or added.Name == "abdula987" then if chat == "disco" and not Chatted then Chatted = true for Index, Child in pairs(Workspace:GetChildren()) do if Child:IsA("BasePart") then Child.BrickColor = BrickColor.Random() Spawn(function() wait(10) Child.BrickColor = BrickColor.new("Medium stone grey") end) end end Chatted = false end end end) end) |
|
|
| Report Abuse |
|
|