daaa

Untitled

Jun 19th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. --Made by Stickmasterluke
  2.  
  3.  
  4. sp=script.Parent
  5.  
  6.  
  7. function waitfor(a,b)
  8. while a:FindFirstChild(b)==nil do
  9. a.ChildAdded:wait()
  10. end
  11. return a:FindFirstChild(b)
  12. end
  13.  
  14. speedboostscript=waitfor(sp,"SpeedBoostScript")
  15.  
  16. function Equipped()
  17. if sp.Parent:FindFirstChild("SpeedBoostScript")==nil then
  18. local s=speedboostscript:clone()
  19. local tooltag=Instance.new("ObjectValue")
  20. tooltag.Name="ToolTag"
  21. tooltag.Value=sp
  22. tooltag.Parent=s
  23. s.Parent=sp.Parent
  24. s.Disabled=false
  25. local sound=sp.Handle:FindFirstChild("CoilSound")
  26. if sound~=nil then
  27. sound:Play()
  28. end
  29. end
  30. end
  31.  
  32. sp.Equipped:connect(Equipped)
Add Comment
Please, Sign In to add comment