Advertisement
3DCreator

explode

Dec 22nd, 2024
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 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.             local explosion = Instance.new("Explosion", character)
  10.             explosion.Position = character.HumanoidRootPart.CFrame.Position
  11.         end
  12.     end
  13. end
  14.  
  15. return module
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement