Animation causes avatar to loose graviy

I want to have animations for my game, but for some reason using them causes my character to float into the sky.

NOTE I did have an error. This is the code that is erroring

18:17:40.472 Players.Kevasii.Backpack.Pommel Horse.Manager:134: attempt to index nil with number - Client - Manager:134

humanoid.PlatformStand = true

What should I do?

But humanoid isn’t a number

Could it be possible that humanoid is defined as nil? I don’t really see where else the error could lie, since PlatformStand is a BoolValue

I found the problem. I had the frame as the child of the manager instead of the screenGUI and that broke the script.