RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make it so if you say :leave in chat it leaves the game"
-- server script game.Players.PlayerAdded:Connect(function(player) player.Chatted:Connect(function(message) if string.sub(message, 1, 6) == ":leave" then player:Kick("Left the game") end end) end)