Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how to make animation play even when foward is pressed?

my animation stops when foward is pressed.

plr = game.Players.LocalPlayer local CrashAnim = Instance.new("Animation", plr.Character) CrashAnim.AnimationId = "http://www.roblox.com/asset/?id=2296730026" local humanoid = plr.Character:WaitForChild("Humanoid") local playanim = humanoid:LoadAnimation(CrashAnim) playanim:Play() print("done")

1 answer

✓ Accepted answer

This is because your animation priority is something other than Action. Import your animation and set the priority to Action (Edit -> Set Priority -> Action) and it should work.

Also, on this site, you can put a Lua code block around your code to allow it to be easier to read.

If this helped you, please accept the answer.

This discussion is preserved as it was. New answers, comments, and votes are closed.