My idle animation only plays after i stop moving

Hello, I am trying to replace the defaul idle animations with my own, and i managed to find this script on the dev forum

	plr.CharacterAdded:Connect(function(char)
		wait(3)
		char.Animate.idle.Animation1.AnimationId = "rbxassetid://5035780212"
		char.Animate.idle.Animation2.AnimationId = "rbxassetid://5035780212"
	end)
end)

It works, but, my animations plays only when i stop moving and when i start the game. (as shown in this video)

https://imgur.com/a/eVlIy8D

Why does this happen and what can i do to fix this?

Any help is apriciated

4 Likes

What is your idle animations priority set as?

Inside Roblox’s Animate script, there are animation ids to replace as well! Make sure you copy the animate script and edit those too.

There is another way of doing this that i believe might work,
if you spawn your default character in, you can take out a local script called ‘Animate’. Copy that and put that in StarterCharacterScripts. Open up the script and there should be all the id’s for default Roblox animations, from there you can replace the idle animation id with your one. You will also have to go into the scripts children and paste your id into the string value animations

Its set to idle, i thought that if its an idle animation it should be set to idle, am i wrong?

Ill try that now

30 charssssss

I usually use the action priority because it works better than the other priorities, I also don’t tend to use the other ones.

I used other priorities and it really didn’t work so you could save the animation again but change the priority to action.

Still it doesnt work as i want it to.
I want the animation to loop itself, not only play when the player stops moving

You haven’t set the animation to loop in the animation editor. So it’s actually working the way you made it; plays once, then stops.

2 Likes

How can i do that? I looked through the editor multiple times and i didnt see any ‘looped’ option

This is the loop toggle button in the built-in animation editor. It’s highlighted in blue when enabled.

image

1 Like

Im such an idiot, thanks a lot

Has everything gone smoothly or did this not work?

I got it to work, thanks a lot

30 characters

1 Like