LoadAnimation requires the asset id to not be empty

Hello everyone! I have a problem “LoadAnimation requires the asset id to not be empty” but I don’t understand why

script.Parent.Parent.Activated:Connect(function()

	script.Disabled = true

	local animation = script.Animation
	local humanoid = script.Parent.Parent.Parent.Humanoid

	local animationtrack = humanoid:LoadAnimation(animation)
	animationtrack:Play()
	script.Parent.Handle.Click.Disabled = false

	wait(0.1)

	script.Disabled = false
	script.Parent.Handle.Click.Disabled = true

end)

image

Is the AnimationId property of the Animation empty?

1 Like

I somehow forgot about her, thank you!