I need help. When I click my mouse it plays the animation, but if I keep clicking it repeats it. How could I make it wait for the animation to play before being able to play again? This is what I have so far. Thanks.
local animation = script.Parent.Animation
local Tool = script.Parent
local animTrack = nil
Tool.Activated:connect(function()
animTrack = script.Parent.Parent.Humanoid:LoadAnimation(animation)
animTrack:Play()
end)
