Animations not working?

So, I am currently working on a dialogue script. I checked the output and Developer Console and they both seem to do this:

If anyone could help me, please reply in the comments, here is my script:

wait(5)
local hum = script.Parent.Humanoid

local anim = hum:LoadAnimation(script.Parent.cheeto)

anim:Play()

1 Like

I get the same problem when using somebody else animation. Is the animation made by you or somebody else?

1 Like

Cheeto has your animation id, correct? And I suggest removing the wait.

1 Like

The animation was made by me, it seems to be fine in studio but all public servers it does not work.

1 Like

Alright, yes cheeto has my animation ID.

1 Like

I don’t know if it’s gonna work, but you can try using pcall() to catch the error without stopping the entire script and retry loading the animation

1 Like

I had a long experience with this, download the plugin moon animator to animate and to make it work watch this… https://www.youtube.com/watch?v=5-c-Kj3YSdU