Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by Stickmasterluke
- sp=script.Parent
- function waitfor(a,b)
- while a:FindFirstChild(b)==nil do
- a.ChildAdded:wait()
- end
- return a:FindFirstChild(b)
- end
- speedboostscript=waitfor(sp,"SpeedBoostScript")
- function Equipped()
- if sp.Parent:FindFirstChild("SpeedBoostScript")==nil then
- local s=speedboostscript:clone()
- local tooltag=Instance.new("ObjectValue")
- tooltag.Name="ToolTag"
- tooltag.Value=sp
- tooltag.Parent=s
- s.Parent=sp.Parent
- s.Disabled=false
- local sound=sp.Handle:FindFirstChild("CoilSound")
- if sound~=nil then
- sound:Play()
- end
- end
- end
- sp.Equipped:connect(Equipped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement