I would like to change the animation priority to play over walking and jumping. I currently have it so that when E is pressed the player does a frontflip, but the moment they start walking it stops.
I had read this: https://developer.roblox.com/en-us/api-reference/enum/AnimationPriority
I tried doing this. However it returns an error.
local flip = Instance.new("Animation")
flip.AnimationPriority = 2

3 comments
Enum.AnimationPriority.Action ?
I think that is what I need. How would I incorporate that into the script? If you answer below, I can accept your answer :)
I tried "Enum.AnimationPriority.Action = flip" , but this gives the error "Action cannot be assigned to "