Advertisement
HowToRoblox

SpeedBoostScript

Oct 27th, 2019
900
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.WalkSpeed = 100        
  9. end
  10.  
  11.  
  12. function Unequipped()
  13.    
  14.     local Player = game.Players.LocalPlayer.Name
  15.    
  16.     game.Workspace:FindFirstChild(Player).Humanoid.WalkSpeed = 16  
  17. end
  18.  
  19.  
  20. Sword.Equipped:connect(Equipped)
  21.  
  22. Sword.Unequipped:connect(Unequipped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement