We have constructed this robot for a future project and decided to give it a simple idle animation. The animation works perfectly until it is time to play/run the game.
Once run, it completely breaks. We have no clue why it’s doing this.
This is the code inside the animation script. I also used moon animator to animate this piece.
Using the proper approach by loading the animation into the Animator makes any difference?
local hum = script.Parent:WaitForChild("Humanoid")
local Animator = hum:WaitForChild("Animator") -- be sure there is an Animator instance in the Humanoid
local loaded = Animator:LoadAnimation(script.Animation)
loaded.Looped = true
loaded:Play()