Hey,
I have recently been having an issue where my ‘Load Animation’ script is not working.
Yesterday the script was functioning fine.
I have tried renaming the dummy, renaming the script, modifying the script, disabling and enabling the script, deleting the script and recreating it, closing and reopening Studio, moving parts around the dummy further away from it, and the Output Bar is not stating anything about the failing script.
Here is the script I’m using:
local Animation = script:WaitForChild("Animation")
local NPC = script.Parent:WaitForChild("Humanoid")
local LoadAnim = NPC:LoadAnimation(Animation)
LoadAnim:Play()
Ah, this is why. Make sure the NPC is properly rigged (if you used a default Block Rig then you’re fine) and that all BaseParts inside of it are unachored