Advertisement
3DCreator

kick

Dec 22nd, 2024
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. local module = {}
  2.  
  3. module.run = function(player, message, arguments)
  4.     local target = require(_G.fetchplayer)(player, arguments[2])
  5.     local reason = message:gsub(arguments[1].." "..arguments[2], "")
  6.    
  7.     for _, v in pairs(target) do
  8.         v:Kick("You were kicked for"..reason..".")
  9.     end
  10. end
  11.  
  12. return module
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement