how can I make a script that whenever a player types "die" in the chat, the player dies?
sorry for bad grammar i want to die rn
make a script in serverscript
in the script
game.Players.PlayerAdded:Connect(function(Player) Player.Chatted:Connect(function(Message) if Message == "die" then Player.Character:BreakJoints() end end) end)