Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do i make it so the animation wont replay until its done?

Asked by 2 years ago
Edited 2 years ago

I've made a tool and an animation for my game but i can spam click the tool and the animation will spam replay every time i click can someone help me get it so it doesnt replay until i click it again after the animation is done?

local Tool = script.Parent local Animation = Tool.Animation

Tool.Activated:Connect(function() local Character = Tool.Parent local Humanoid = Character.Humanoid

local AnimationTrack = Humanoid:LoadAnimation(Animation)
AnimationTrack:Play()

end)

0
Do post your code, it makes it easier for us. radiant_Light203 1166 — 2y
0
heres the animation code Smith937ALTACC 0 — 2y

Answer this question