-
Currently, I just want this animation to play on my NPC that has a sword.
-
Well, its not playing. I have a script set up in the model of the character to play whatever animation set as the scripts child, then does a thing with the animation controller. I’ll just show you.
local anim = script.Animation
local animController = script.Parent.AnimationController
local LoadAnim = animController:LoadAnimation(anim)
LoadAnim:Play()
What this should do is load the animation from the scripts child and play it through the LoadAnim thingy.
But there’s no errors! I have no idea what is wrong or how to fix it.
- What solutions have I tried so far? Well, I couldn’t find any. The thing is, the sword is WeldConstrainted to a part (handle bone), that is Motor6D’d to the Right Arm. I dont know if that would cause an issue, because it animates fine in the anim editor, but it wont start in game.
In editor: The animation is set up just fine.
In game: It aint happenin cheif
The models entire thing
The animation is also set as priority:idle, idk if that helps