Animation script doesnt work as intended

gonna keep it short, trying to make a system where if you hold down shift while moving it would play an animation, instead it plays it if you are holding down shift before moving (local script)

also, neither does this work: removed, don’t steal my scripts >:(

1 Like

I will try it out and come back to you asap.

1 Like

You didn’t did it right here try that one:

UserInputService.InputEnded:Connect(function(Output)
     If Output.KeyCode == Enum.KeyCode.LeftShift then
	anim.walk.WalkAnim.AnimationId = "rbxassetid://6599672741"
   Humanoid.WalkSpeed = 10
  end
	end)
1 Like

I dont think you understood the problem:

your solution worked exactly the same as my script, but the walk anim only played when LeftShift input ended

main problem is the input on X doesnt work what so ever