Animation NOT Working Properly

  1. I’m trying to achieve a working Animation that doesn’t let the arm swing this way

2.https://gyazo.com/e8e91bed24241fdd8374bf415a0e4c42

  1. Prior To action making it higher Prior
local Tool = script.Parent.Parent.Parent

Tool.Equipped:Connect(function()
	local  humanoid = script.Parent.Parent.Parent.Parent:FindFirstChild("Humanoid")
	local Anim = humanoid:WaitForChild("Animator")
	print(humanoid)
	idle = Anim:LoadAnimation(script.Parent.Parent.Parent.Anims:WaitForChild("PunchIdle")); idle.Priority = Enum.AnimationPriority.Idle
	idle:Play()---- Idle Animation

end)

Tool.Unequipped:Connect(function()
	idle:Stop()
end)

delete the part in the tool. you can equip the tool even if there is no Handle in it.

Also, you should load animations like this:

local tool = script.Parent

local idleTrack

local plr = game.Players.LocalPlayer
local chr = plr.Character or plr.CharacterAdded:Wait()
local hum = chr:WaitForChild("Humanoid")



tool.Equipped:Connect(function()
	local animator = hum:FindFirstChildOfClass("Animator")
	if animator then
		idleTrack = animator:LoadAnimation(animation here)
		idleTrack:Play()
		idleTrack.Looped = true
	end
end)

tool.Unequipped:Connect(function()
	idleTrack:Stop()
end)

image

This isn’t true for all tools, by default the requires handle property is enabled.

What exactly is the issue you’re facing? I’m struggling to understand your post.

1 Like

Oh yeah, I forgot to add that in my reply, Also the problem they are having is that the tool holding animation basically overlaps with their idle animation.