Bodyattch not working? tool not moving with character

hi, i intend to make an animation which plays when the player triggers a button but the tool doesnt connect to the hand when the animation is played, instead it is stuck in the idle position.

im stuck on this problem; so any help will be appreciated

local smile = script.Parent 

smile.Equipped:Connect(function()
	local atrest = smile.Parent.Humanoid:LoadAnimation(smile.Animations.AtRest)
	atrest:Play()
	local ToolGrip = smile.Parent.Torso:FindFirstChild("BodyAttch")
	ToolGrip.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(30), math.rad(-15), math.rad(0))
	
end)

smile.Activated:Connect(function()
	local consume = smile.Parent.Humanoid:LoadAnimation(smile.Animations.Consume)
	consume.Priority = Enum.AnimationPriority.Action4
	consume:Play()
end)
1 Like

Torso:FindFirstChild(“BodyAttch”) → Torso:FindFirstChild(“BodyAttach”)

My bad. I forgot to send the explorer part. I write it as BodyAttch instead.

image

1 Like

are you sure your reference to the BoddyAttch is correct?

1 Like

There’s an idle animation that plays beforehand which would indicate there is a BodyAttch properly included. The problem is that for the next animation, it’ll play as intended in Moon but the tool will not deviate from the idle position when played in game with my own player.