Advertisement
ClockworkHorror

Kick Script (TEST)

Jul 2nd, 2015
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. player = game.Players.ClockworkHorror
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement