Problem with walking animation script

Hello, So I was working on a game when I found that my walking animation script isn’t working. Well in roblox player.
What I mean is when I test my game in studio the script works. But when I test it on the roblox player it doesn’t.

Here is my script.

game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
Character.Animate.walk.WalkAnim.AnimationId = “rbxassetid://8155038655”
end)
end)

If it works in studio but in game then it means there’s ownership conflict

Make sure that the animation is owned by the entity that owns the game. If you own the game, you must be the owner of the animation, if a group owns the game, the group must own the animation

OHHHHHHH I get it.
the game is in a group but the animation is made by me.
thanks for the help.

1 Like

If that’s your solution it’s best to mark the reply as the solution so people will know that this post is solved and doesn’t need any more help

1 Like