Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tool = script.Parent
- local handle = tool:WaitForChild("Handle")
- local plr = game.Players.LocalPlayer
- repeat
- wait()
- until plr.Character
- local ha = script.h
- ha:InvokeServer(handle)
- local c = plr.Character
- local hum = plr.Character:WaitForChild("Humanoid")
- local mouse = plr:GetMouse()
- local actionAnim = Instance.new("Animation")
- actionAnim.AnimationId = "rbxassetid://1060244762"
- local animp2 = hum:LoadAnimation(actionAnim)
- local deb = false
- local timeLength = 2.3
- local b1D
- local strength = game.ReplicatedStorage.DaperpreoaAddStrengthHacksBroSKRASkq
- tool.Equipped:Connect(function()
- if hum.Health <= 0 then
- return
- end
- print("equipped")
- b1D = mouse.Button1Down:Connect(function()
- if hum.Health <= 0 then
- return
- end
- if deb == false then
- deb = true
- local breath = c:FindFirstChild("breath")
- if breath then
- breath.particle:Emit(1)
- end
- animp2:Play()
- strength:FireServer(handle, 8)
- wait(timeLength)
- animp2:Stop()
- deb = false
- end
- end)
- end)
- tool.Unequipped:Connect(function()
- b1D:disconnect()
- animp2:Stop()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement