CrimeByte
|
  |
| Joined: 08 Mar 2015 |
| Total Posts: 360 |
|
|
| 04 May 2015 08:24 PM |
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if player == "CrimeByte" and msg == ("hi") then for i,v in pairs(game.Workspace.BasePlates:GetChildren()) do if v:FindFirstChild("ParticleEmitter") then v.ParticleEmitter.Enabled = true end end elseif player == "CrimeByte" and msg == ("bye") then for i,v in pairs(game.Workspace.BasePlates:GetChildren()) do if v:FindFirstChild("ParticleEmitter") then v.ParticleEmitter.Enabled = false end end end end) end)
-DHS |
|
|
| Report Abuse |
|
|
CrimeByte
|
  |
| Joined: 08 Mar 2015 |
| Total Posts: 360 |
|
| |
|
|
| 04 May 2015 08:28 PM |
'if player == "CrimeByte"'
The player object is not equal to the string "CrimeByte". |
|
|
| Report Abuse |
|
|
CrimeByte
|
  |
| Joined: 08 Mar 2015 |
| Total Posts: 360 |
|
|
| 04 May 2015 08:30 PM |
What..?
That's my name. I said the command and it doesn't work.
-DHS |
|
|
| Report Abuse |
|
|
CrimeByte
|
  |
| Joined: 08 Mar 2015 |
| Total Posts: 360 |
|
|
| 04 May 2015 08:31 PM |
Oh wait. *FACEPALM*
player.Name k
-DHS |
|
|
| Report Abuse |
|
|