Animating tool doesnt work(equip anim)

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    i followed this tut

  2. What is the issue? Include screenshots / videos if possible!

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    yes i haev and found none

Did you follow it exactly or did you modify it somehow?
Do you get any errors in the output window?
Did you use LocalScripts instead of Scripts? Use the kind the tutorial uses.

Also did you just copy/paste the script(s), which would mean your items (gun magazine, gun and other stuff) probably don’t have the same names or locations as the items in the script(s).

1 Like

i followed it to a tee, also i didnt modify it, only the severscript i did it like this:

game.Players.PlayerAdded:Connect(function(plr)			
	plr.CharacterAdded:Connect(function(char)		
		local M6D = Instance.new("Motor6D", char.Torso)
		M6D.Name = "ToolGrip"
		
		char.ChildAdded:Connect(function(child)
			if child:IsA("Tool") and child:FindFirstChild("BodyAttach") then
				M6D.Part0 = char.Torso
				M6D.Part1 = child.BodyAttach
			end
		end)
	end)
end)

Also here is the local script in the tool:

local animidle = script.Parent:WaitForChild("Idle")
local player = game.Players.LocalPlayer

local tool = script.Parent -- use a direct path to the tool
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
local animtrackidle = hum:LoadAnimation(animidle)

tool.Equipped:Connect(function()
	animtrackidle:Play()
end)

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


This is probably the fault of the animation itself. Try remaking the animation or changing the animation priority to a suitably high amount.

1 Like

its at action priority (loooooooooooooong)

Did you check this too?

(why do posts with quotes not count as the right amount of characters…)

yes i did, no errors tho (characters, Ioooooooong)