So, I saw a post on here that talked about tables with chatted events a while ago and I attempted to make tables with chatted events unfortunately mine won't work... can someone please help? I put the following Block of code under StarterGui in a Local Script...
admins = {"KingLoneCat", "Player1"}
messages = {"Reset", "Die"}
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
for i,v in next, messages do
for _, admin in next, admins do
if player.Name == admin and msg == v then
player.Character:findFirstChild("Humanoid").Health = 0
end
end
end
end)
end)
Thank you for reading!

1 comment
How would I make an admin chatted event using 3 things like "Speed KingLoneCat 100"