Advertisement
3DCreator

kill

Dec 22nd, 2024
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 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.    
  6.     for _, v in pairs(target) do
  7.         local character = v.Character or v.CharacterAdded:Wait()
  8.         if character then
  9.             character.Humanoid.Health = 0
  10.         end
  11.     end
  12. end
  13.  
  14. return module
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement