ok this error has been coming up for soo long:
LoadAnimation requires the Humanoid object (DragonSpawner12.Humanoid) to be a descendant of the game object
Here is my code:
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://5595931188"
local animation = humanoid:LoadAnimation(anim)
I HAVE SEEN SO MANY ARTICLES NOT SOLVING THIS!
PLEASE Help me!
Edit: thanks for the inspiring comments

4 comments
Wow Thanks For Providing Code For Us To Help You With
Thank You For Blessing Us With The Power Of "No Code"
Where is your code?
is that the entire code that is making the error?,but i searched it and it said you cant change the parent of the load animation