I have a admin script and it has worked great but for the past 15 mins it has stopped working. I have reverted the place back to 3 hours while I was still working on it and it isn't working there either. Here is the script
local isAdmin = {["potatoboy9999"] = true, ["RightfulFluff2"] = true, ["diamondflash"] = true, ["12coocoo"] = true, ["Player1"] = true} function onChatted(message, speaker) if message == ":DReset" and isAdmin[speaker.Name] then speaker.Character:BreakJoints() end end game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(message) onChatted(message, player) end) end)
This is my reset command and I have a few other commands and they all worked and now none of them do so I am really confused why this happened...
Try testing it in-game. I had the same problem, and it turned out to be that the chatted event isn't working correctly sometimes in studio.