local Anim = Instance.new("Animation")
Anim.AnimationId = "rbxassetid://94161088"
local player = game.Players.LocalPlayer
local character = player.Character
if not character or not character.Parent then
    character = player.CharacterAdded:wait()
end
local Humanoid = character.Humanoid
local LoadedAnim = Humanoid:LoadAnimation(Anim)
local Tool = script.Parent
Tool.Equipped:Connect(function()
 LoadedAnim:Play()
end)

Tool.Unequipped(function()
 LoadedAnim:Stop()
end)

Error - LoadAnimation requires the Humanoid object (greybird700.Humanoid) to be a descendant of the game object

???

1 comment

0

You didn't parent the Animation to anything. You should parent it to the character. "Anim.Parent = character"