Advertisement
PlanetTheo

Anti-Skid

Feb 7th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. player = game.Players.PlanetTheo
  2.  
  3. function chat(msg)
  4. if string.sub(msg,1,5) == "kick/" then
  5. pl = string.sub(msg,6)
  6. g = game.Players:GetPlayers()
  7. for i,v in pairs(g) do
  8. if string.find(string.upper(v.Name),string.upper(pl)) == 1 then
  9. v:remove()
  10. end
  11. end
  12. end
  13. end
  14.  
  15. player.chatted:connect(chat)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement