I've had some problems with my ROBLOX animation where the animation will stop when I walk or jump. Does anyone know how to fix this? - sjw25
[UNSOLVED] Why does my roblox animation stop when I jump or walk?
1 answer
Change the animation priority to Movement by doing this
local Player = game.Players.LocalPlayer
local Animation = Instance.new("Animation")
Animation.AnimationId = "rbxassetid://1234567890"
local AnimationTrack = Player.Character.Humanoid:LoadAnimation(Animation)
AnimationTrack.Priority = Enum.AnimationPriority.Movement
10 comments
Oh, thank you! I'm kind of a "noobie" when it comes to scripting. I'll try that right away!
I tried that but it didnt work for me I dont know if I did it wrong or what.
This is my script I dont know if i placed it wrong or what.
I edited the code above to show you an example of what i meant.
I'm using a tool animation will that work with it?
Yea just change local Animation to the tools animation
this is my script : anime = script.Parent.name.Value script.Parent.Selected:connect(function(m) m.Button1Down:connect(function() hum = game.Players.LocalPlayer.Character.Humanoid anim_feet = hum:LoadAnimation(script.Parent.Animation) current = anim_feet current:Play() AnimationTrack.Priority = Enum.AnimationPriority.Movement end) end)
Sorry if I'm being annoying im aparently not advanced as you a friend had to help me with it.
Its fine but on a tool you can just do tool.Activated to do what youre trying to accomplish
where at?
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
dude it solved