Custom walk/idle animations not working

Hey, i’ve made a script that plays a custom walk anim for when u walk, my issue is that when I go on a real server, it seems to be client sided? none of the animations are playing, were not even walking.

i’ve used a server script and a local script, both didnt work.
how would I be able to set a remote event here?

game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		Character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://..."
		Character.Animate.run.RunAnim.AnimationId = "rbxassetid://..."
	end)
end)

I didnt write the id’s because they are animations I paid for.

can you show more of the script? theres not enough to go on, atleast for me.

well this is all of the script, and it works fine in studio as well, just not in a real server.

Did you check any errors on the server side in the developer console while you’re in the real game?

removed the script because it didnt help

is it a group game? or a profile game?

is it a group game? or a profile game? if so make sure the animation is published to the group or your profile

1 Like

image

here u go it was a mistake on my end, also im reporting you for being mean.

Could u maybe explain what do I need to change in the script or where should I place it etc.

nevermind, the issue was the solution i just marked, thanks for the help anyways!

1 Like

if you disable the script and play it, your character will already have a Animate script. Copy and paste that into StarterCharacterScripts, change the ID in the script and it will work exactly the same

I know, I already tried the animate script. the problem was me posting the animations as me the creator, not my group, so the script thought i was “stealing” it

the thing is, changing the script won’t change anything. You actually need to own the animation.

thats what i tried explaining lol, everything worked after I posted the animations as my group as the creator, since the game was published on my group

1 Like

oh okay. Sorry about the trouble then

I think the problem with this is about the animation is not owned by the game creator account!

if not then maybe you can copy and paste this script to test it out:
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
Character.Animate.run.RunAnim.AnimationId = “https://www.roblox.com/asset/?id=…”
end)
end)

this topic was solved around a month ago, but thanks anyways.

2 Likes