How to change a player animations in game (anim test game)

How would I go by changing a player’s animations through a script

it really depends on what you are referring to, I could be a little more specific, I promise to help you.
edit: I can’t promise to help you anymore as I have to go to bed now bro and my dad is in a terrible mood so I’d better go to sleep.

if you are referring to server script simply change the values of the local Animate script inside the player character

player.Character.Animate.Idle.Value = --the ID of you animation

i’ve already tried this. i tried multiple things