Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Admin = "p0vd"
- local Players = game:GetService("Players")
- Players.PlayerAdded:Connect(function(Player)
- if Player.Name == Admin then
- Player.Chatted:Connect(function(msg)
- if msg ~= nil then
- if string.lower(string.sub(msg, 1,4)) == "kick" then
- local Target = Players:FindFirstChild(string.sub(msg, 6))
- if Target ~= nil then
- Target:Kick()
- end
- end
- end
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement