Animations on monster

I am making a horror game and im trying to play these animations on the next monster im making but everytime i try to import it on to him in a script nothing happens and nothing plays and nothing is in output

heres what the animation looks like:

and here is the script where i am pretty sure has nothing wrong with it

local animation = game.ReplicatedStorage.smash
local humanoid = script.Parent:WaitForChild('Humanoid')
local dance = humanoid:LoadAnimation(animation)
dance:Play()

and i store two animations in replicated storage called “run” and “smash”

2 Likes

are you trying to play the same animations on another monster ? if so then make sure that the bones have the same names in both monsters

You should try making a animator object in Humanoid and play it on the animator instead that

1 Like

Can you tell me how to use those because i never use them?