
1.2k Views
371 Executions
Testing
Universal Script 📌
schylerbryce2014First script
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Testing my own kick script
-- List of usernames to kick (case-sensitive)
local usernamesToKick = {
"BadUser123",
"TrollPlayer456",
"Spammer789"
}
-- Function to kick players in the list
game.Players.PlayerAdded:Connect(function(player)
for _, username in ipairs(usernamesToKick) do
if player.Name == username then
player:Kick("You are not allowed in this game.")
warn("Kicked player: " .. player.Name)
end
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







