So I'm new at scripting, and I've been watching tutorials on Youtube. In every single one, they tell me to type,

local Animation =
game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Animation1)
wait (3)
Animation:Play()

But every single time I try this, I always get this error: LoadAnimation requires the Humanoid object (Cloud_Razer.Humanoid) to be a descendant of the game object. I've read some sites to do a workaround, but never describe how to do it. Can you help out?

1 comment

0

Try adding this before the current code, game.Players.LocalPlayer:WaitForChild(“Humanoid”)