Hello, i am making a game where these key shortcuts use animations, but they get interupted by the default idle animation, i tried, i cant do it, i want to take it out so it doesnt inturrupt my animations like it sometimes does. Actually, i have tried when the key is pressed then it takes out the animate sccript in character and puts back in after animstion finished, but it SOMEHOW STILL DID THE IDLE THING WHERE ARMS MOVE FORWARD A LITTLE AND BACK! Please help! thanks :) Iv tried
can = true
script.Parent.Parent.Chatted:Connect(function(msg)
if msg == "KAMEHAMEHA" then
if can == true then
can = false
script.Parent.Parent.Character.Humanoid.WalkSpeed = 0
script.Parent.Parent.Character.Humanoid.JumpPower = 0
local k = Instance.new("Animation")
k.AnimationId = "rbxassetid://2863412692"
wait()
script.Parent.Parent.Character.Humanoid:LoadAnimation(k):Play()
wait(5)--the time of animation
script.Parent.Parent.Character.Humanoid.WalkSpeed = 16
script.Parent.Parent.Character.Humanoid.JumpPower = 50
wait(10)
can = true
end
end
end)
So this all works, its just that sometimes when the animation plays, then the idle animation with slightly moving arms interups! halp plesss!

1 comment
but isnt that to stop them? Bro, it keeps happening, if u notice, i keeps doing that default animation thing where hands move then stop.. then again, wouldnt this just stop the current one? eh whatever ill try this anyways, i just tried and i was right, it stops the CURRENT tracks playing, but then right before the other animation plays sometimes the hand thing happens again, so this is half solve