Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tool = Instance.new("Tool")
- Tool.Name = "Bloxy Cola Bonk!"
- Cola = Instance.new("Part")
- Cola.Name = "Handle"
- Cola.Parent = Tool
- Tool.Parent = owner.Character
- Mesh = Instance.new("SpecialMesh")
- Cola.Size = Vector3.new(1, 1.2, 2)
- Mesh.Parent = Cola
- Mesh.MeshId = "http://www.roblox.com/asset/?id=10470609"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=141515313"
- Mesh.Scale = Vector3.new(1.2, 1.2, 1.2)
- local Speed = Instance.new("Sound", Cola)
- Speed.SoundId = "rbxassetid://1907794746"
- Speed.Volume = 1.5
- local SpeedGone = Instance.new("Sound", Cola)
- SpeedGone.SoundId = "rbxassetid://1907795251"
- SpeedGone.Volume = 1.5
- local equipped = Instance.new("Sound", Cola)
- equipped.SoundId = "rbxassetid://10721950"
- equipped.Volume = 1
- local isTouched = false
- local function healPlayer()
- local humanoid = owner.Character:FindFirstChildWhichIsA("Humanoid")
- if humanoid then
- if not isTouched then
- isTouched = true
- humanoid.WalkSpeed = "32"
- Speed:Play()
- wait(5)
- SpeedGone:Play()
- humanoid.WalkSpeed = "10"
- wait(1)
- humanoid.WalkSpeed = "16"
- isTouched = false
- end
- end
- end
- Tool.Activated:connect(healPlayer)
- Tool.Activated:connect(function()
- Tool.GripForward = Vector3.new(0,-.759,-.651)
- Tool.GripPos = Vector3.new(1.5,-.5,.3)
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,.651,-.759)
- wait(0.5)
- Tool.GripForward = Vector3.new(-.976,0,-0.217)
- Tool.GripPos = Vector3.new(0.03,0,0)
- Tool.GripRight = Vector3.new(.217,0,0)
- Tool.GripUp = Vector3.new(0,1,0)
- end)
- Tool.Equipped:Connect(function()
- equipped:Play()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement