How to change players animation pack?

I’m trying to set the players R15 animations to the Old School animation pack, however when I plug the asset IDs for the animation they do not work. (The asset IDs are the ones from the store on the roblox website, is there another ID for these animations too?)

This is the script I am using to replace the animations, I know it works with custom animations but it wont work for the official animation packs for some reason:

game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		Character.Animate.run.RunAnim.AnimationId = "rbxassetid://5319900634"
		Character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://5319900634"
		Character.Animate.jump.JumpAnim.AnimationId = "rbxassetid://5319917561"
		Character.Animate.fall.FallAnim.AnimationId = "rbxassetid://5319914476"
	end)
end)

Instead, the player just has no animations and looks completely still while moving

1 Like

That’s because the animate script can only be accessed through the client (because it is a local script). So I would put it in a local script and do it like this:

local Player = game.Players.LocalPlayer

Player.CharacterAdded:Connect(function(Character)
    wait(0.1)
	Character.Animate.run.RunAnim.AnimationId = "rbxassetid://5319900634"
	Character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://5319900634"
	Character.Animate.jump.JumpAnim.AnimationId = "rbxassetid://5319917561"
	Character.Animate.fall.FallAnim.AnimationId = "rbxassetid://5319914476"
end)

Its not a local script and it already works when i use a custom animation, just when i use the official animation packs it doesnt work

Again, you need to put it in a local script because a server script can not access Character.Animate.

i don’t know what to tell you man, I’ve said this twice already, the server script version DOES work. But when i use the official roblox packages it doesnt. Maybe because i need a different Id than the link on the page for the animation or something.
Your version, unsurprisingly, did not work either

As I previously mentioned, you can’t do this on serverside.

I edited the script, try it now.

You are right about it not moving. Can you send the animation pack?

HumanoidDescription

You can Apply the Data into the Animation Values, and then apply it to the Humanoid

Alternatively, you can grab the Animate Script inside your Character, and Manually change them, and place them in StarterCharacterScripts

1 Like

Unless I am missing something, that’s literally what I did

I mean Manually as in you putting in the values yourself, and not the script.

1 Like

are you really sure? i think my first idea of the animation ids being different than the catalog ids might be correct, i just have no idea how to find the right Id

I am very sorry to bump this but for future developers this might be useful: you are right, the catalog ID does not equal the real ID.

You can run game:GetService("InsertService"):LoadAsset(asset_id).Parent = workspace where asset_id is the catalog ID and it’ll create you a model in the workspace with an Animation instance you can extract the real ID out of.

Happy coding everyone!