How can I fix this animation?

Hello, Im making a game cald Children Brawl. I made a ban hammer walking animation recently, but It wont animate the ban hammer that I have in my hand. How would I fix this?

Here is the script:

script.Parent.Equipped:Connect(function()
	local Character = script.Parent.Parent
	Character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://7515195107"
	Character.Animate.jump.JumpAnim.AnimationId = "rbxassetid://7507436431"
	Character.Animate.idle.IdleAnim.AnimationId = "rbxassetid://7507757285"
end)

Does the animation animate the arm holding the ban hammer?

2 Likes

Yes it does actually, but the arm doesn’t have the ban hammer on it

Is the tool working without the animation?

1 Like

I haven’t scripted the tool at all yet

Can you show me the tool’s children, also do you have a part named
Handle in their as well as the animation priority to action?

try copying the animate script and putting it into the tool then do somethin like this

local toolAnimations = script.Parent:WaitForChild("Animate")
local Animations = script.Parent.Parent:WaitForChild("Animate")
local Character = script.Parent.Parent
toolAnimations.Disabled

script.Parent.Equipped:Connect(function()
Animations.Disabled = true
toolAnimations.Disabled = false;toolAnimations.Parent = Character
end)

script.Parent.Unequipped:Connect(function()
toolAnimations.Disabled = true
toolAnimations.Parent = script.Parent
Animations.Disabled = false
end)

idk just a suggestion I dont reccomend doing this if theres a better way.
its something I quickly pulled out my cheeks :sweat_smile:

1 Like

is this a local or server script?