Whenever I go to test my animation for an NPC, it always works in studio, but when I go to the actual game, it does not play it at all.
Here is a link to my game if you want to test this:
Here are two videos for proof:
In Studio:
In Actual Game:
Here is my script as well if you want to view it:
while true do
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://4063433046"
local loadedAnimation = script.Parent.Humanoid:LoadAnimation(animation)
loadedAnimation:Play()
wait(5)
end
I do not remember this happening before and it happened ever since I put in that script. To be honest it is really bugging me and I hope that it is able to be fixed soon. Thanks For Reading!