Advertisement
3DCreator

jumppower

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