RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Kill the player when the player says "trash game""
-- server script local function onPlayerChatted(player, message) if message:lower() == "trash game" then player.Character.Humanoid.Health = 0 end end game.Players.PlayerAdded:Connect(function(player) player.Chatted:Connect(function(message) onPlayerChatted(player, message) end) end)