game.Players.Chatted:connect(function()
if game.Players.JustARegularGuy804.ClassicChat == 'supermario64' then
game.StarterGui.AdminGui:Clone()
game.Players.JustARegularGuy804.PlayerGui.AdminGui = true
else
if game.Players.JustARegularGuy804 == false then
for i, player in ipairs(game.Players:GetPlayers()) do
local character = player.Character -- This grabs all of the players.
character:BreakJoints()
end
end
end
end)
I've tried it, but it doesn't work. I don't seem to know what I did wrong (AND ADMINGUI IS IN THE STARTERGUI) So, what the script does is when JustARegularGuy804 chats supermario64, the AdminGui pops up, because he has permission. IF JUSTAREGULARGUY804 IS NOT IN THE GAME, HOWEVER. Then everyone in the game dies. Happy ending.
