I was using some animations I got from the devfourm on some guns I found and the animations work in studio, but when I actually play the game they just don't load in at all.
How do I make my animations work in-game and in studio?
1 answer
When using animations, you should refer to HAT:
- HumanoidRootPart
- AnimationPriority
- TrackUsed
Where:
- The
HumanoidRootPartmust be unanchored. This is a no-brainer if you're playing the animation on the player, but if you're playing it on a dummy rig instead you have to unanchor its HRP. - Make sure the
AnimationPriorityis set toAction, or else it will likely not play correctly. - Use the
AnimationTrackof theAnimation, not theAnimationitself.Humanoid:LoadAnimation()is a function that returns theAnimationTrackof the givenAnimationinstance.
Per quota:
"Do you own the animations themselves? As in the animations are on your inventory on the website. If you, the game creator, or the group, that owns the game, doesn't own the animations they won't work in game."
This is incorrect. Any developer can use any animation they want, including animations not created by Roblox or the developer. Nothing prevents you from using said animations.
4 comments
Animations are locked to the owner of them (not bringing keyframe sequence provider into this). You can't just go to the website on someone else's profile and use that id for an animation.
Animations are not locked where the hell did you get that
You can't load in someone else's animations.
I tried the guns/same scripts in a different game and all the animations worked in studio and in game and I also referred to HAT as Deceptive said in the game where the animations don't work and I just can't figure out why.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Do you own the animations themselves? As in the animations are on your inventory on the website. If you, the game creator, or the group, that owns the game, doesn't own the animations they won't work in game.
Also um tip 101, maybe include your script here.
https://cdn.discordapp.com/attachments/558008119066755086/717450922086629446/unknown.png