RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a roblox lua script to kick people"
-- server script local Players = game:GetService("Players") local function kickPlayer(playerName, reason) local player = Players:FindFirstChild(playerName) if player then player:Kick(reason) else print("Player not found") end end kickPlayer("PlayerName", "Reason for kick") -- Replace "PlayerName" with the name of the player you want to kick and "Reason for kick" with the reason for kicking them.