I made some animations for a tool I have but the problem is that whenever I do
animationtrack:Stop()
it doesn't stop immediately but takes like a second or a half
code
VVVVVVVVVVVVVVVVVVVVV
local animation_hit = plr.Character.Humanoid.Animator:LoadAnimation(workspace.Animations.Axe_hit)
animation_idle.Looped = true
local debounce = false
local debounce1 = false
remote.OnServerEvent:Connect(function(plr, hit,target, camera, state)
local axe=script.Parent
if debounce2 == false then
debounce2= true
if state == "throw" then
animation_idle:Stop()
animation_hit:Play()
end
task.wait(1)
debounce2 = false
end
end)
--Btw i did take away some parts of code that aren't related to the animation so it would be clearer
** You are now Level 7! **