Whats wrong with this? I've re-written this 4 times and it still doesn't work.. Can somebody help?
local group = { ["WildLasVegas"] = true; ["Senias"] = true; } game.Players.PlayerAdded:connect(function(player) if group[player.Name] then player.Chatted:connect(function(msg) if (msg == "disco") then script.Parent.Color = Color3.new(math.random(), math.random(), math.random()) wait(0.5) end end) end end)