How would I make a Tool heal the player and play an animation at the same time, but heal the player after the animation is done?

I’ve been trying to find scripts on the toolbox to help, but I cant find any

2 Likes

Since you have an animation track, do this:

delay(animationTrack.Length, function()
	humanoid.Health += healAmount
end)

Humanoid is the Humanoid item that’s a child of the player’s character.

You could also use

AnimationTrack.Stopped:Wait()
Humanoid.Health += (Regen amount)

Something like this:

Tool.Equipped:Connect(function()
   AnimationTrack:Play()
   AnimationTrack.Stopped:Wait()
   Humanoid.Health += AmountOfHealthUwannaAdd
end)