Hello Developers!
I made an animation and I get an error saying:
Code :
It’s a local script in starterplayerscripts and an animation called “Bird Animation” inside the local script. Any response is appreciated!
Hello Developers!
I made an animation and I get an error saying:
Code :
It’s a local script in starterplayerscripts and an animation called “Bird Animation” inside the local script. Any response is appreciated!
replace the “char” variable with this:
local char = player.Character or player.CharacterAdded:Wait()
This waits for the character to load if it doesn’t exist
Can’t I just say player:WaitForChild(“Character”)?
No, because Character
is a property, not a child
It doesn’t work, now it says, Humanoid is not a valid member of Model “Workspace.Mysterious_Myth11”
Do char:WaitForChild("Humanoid")
since humanoid is a child
Thanks my animation worked!