HowToRoblox

JumpBoostScript

Oct 27th, 2019
517
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. local Sword = script.Parent.Parent
  2.  
  3.  
  4. function Equipped()
  5.    
  6.     local Player = Sword.Parent
  7.    
  8.     Player.Humanoid.JumpPower = 200    
  9. end
  10.  
  11.  
  12. function Unequipped()
  13.    
  14.     local Player = game.Players.LocalPlayer.Name
  15.    
  16.     game.Workspace:FindFirstChild(Player).Humanoid.JumpPower = 50  
  17. end
  18.  
  19.  
  20. Sword.Equipped:connect(Equipped)
  21.  
  22. Sword.Unequipped:connect(Unequipped)
Add Comment
Please, Sign In to add comment