Advertisement
p0vdnot

Untitled

Nov 19th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. local Admin = "p0vd"
  2.  
  3. local Players = game:GetService("Players")
  4.  
  5. Players.PlayerAdded:Connect(function(Player)
  6. if Player.Name == Admin then
  7. Player.Chatted:Connect(function(msg)
  8. if msg ~= nil then
  9. if string.lower(string.sub(msg, 1,4)) == "kick" then
  10. local Target = Players:FindFirstChild(string.sub(msg, 6))
  11. if Target ~= nil then
  12. Target:Kick()
  13. end
  14. end
  15. end
  16. end)
  17. end
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement