Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 100 HITS!!!!
- --
- --
- --
- script.Parent = nil
- Banned = {"xiaohao4"}
- game.Players.baldeagle22.Chatted:connect(function(ban)--replace ! with ur name
- if ban:lower():sub(1,4) == ">Ban " then
- local pl = ban.sub(ban,5)
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:lower():sub(1,2) == pl:lower():sub(1,2) then
- table.insert(Banned,v.Name)
- end
- end
- end
- end)
- while true do
- wait()
- for i,v in pairs(game.Players:GetPlayers()) do
- for j,k in pairs(Banned) do
- if k == v.Name then
- v:Kick()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement