Animation Bug error

so basically:


idk if this has anything to do with the scripts but..

local tool = script.Parent
local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid: Humanoid = character:WaitForChild("Humanoid")

local animator: Animator = humanoid.Animator

local animas = tool.Animations

local anims = {
	
	holding = animator:LoadAnimation(animas.Holding),
	throwing = animator:LoadAnimation(animas.Throw)
	
}

anims.throwing.Priority = Enum.AnimationPriority.Action4

tool.Equipped:Connect(function()
	anims.holding:Play(.35)
end)


tool.Activated:Connect(function()
	
	anims.throwing:Play()
	
end)

tool.Unequipped:Connect(function()
	anims.holding:Stop()
end)

	


I checked to see if the code worked and it works fine, maybe its something to do with how you are saving the animation?

1 Like

yeah i got it to work thanks! :folded_hands::head_shaking_vertically:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.