I'm trying to change the default walking animation when i equip a tool. I do this by setting the walk animation of the Animate local script that automatically gets added to the character model when they spawn in the game.
https://gyazo.com/2140d1217e4d54673e7bf4dc022fee95
Here's my code
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild('Humanoid')
local tool = script.Parent
tool.Equipped:Connect(function()
--// The Animate local script
local animate = char:WaitForChild('Animate')
--// This is where i try to change the default animation
animate.walk.WalkAnim.AnimationId = 'rbxassetid://2747459244'
end)
I've seen a couple posts that claims this method works but i don't understand why it's not working for me. When i click play, the animation ID changes to the one i want but the animation itself doesn't actually load.

2 comments
Do you own the animation? Animations don't work if you you're not the owner of the animation.
Yes, i own the animation, i just use different accounts.