Testing
Key RequiredUniversal

Testing

Universal Scriptschylerbryce2014schylerbryce2014 1.2K views 330 executesUpdated Aug 5, 2025
0.0/ 5(2 votes)
020% Positive
Lua Script•16 lines (448 chars)
-- 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)

Features & Information

Testing my own kick script

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts