I was in Roblox Studio working on my game, I made animations for some rigs but when I published and joined the game the animations did not load. I got an error message saying something about the animations not being able to load in. Any help im scared...
Script for animations:
local animation = script:WaitForChild('Animation')
local humanoid = script.Parent:WaitForChild('Humanoid')
local caught = humanoid:LoadAnimation(animation)
caught:play()

7 comments
Are you using a local scripts or server script to do this? Make sure 'Animation' is the animation object with the AnimationId set to the id you want.
I am using a Server script and it is the one i want.
Use a LocalScript and use :Play() not :play().
:Play() is the answer
I tried that and now they don't even work in studio.
I tried changing it back to a server script and tested in studio it worked. I join the game animations still failed to load.
At this point if I can't get anything to work i'm just going to give up.