Is there a way to get the tool NOT to move with the arm in the animation editor

Since all roblox tools are right handed, I am try to move the right hand without moving the tool as well. It is in R6 and I am pretty new to animating and studio in general. So help will be appreciated

2 Likes

local function moveRightHand()
    local player = game.Players.LocalPlayer
    local character = player.Character or player.CharacterAdded:Wait()
    local rightShoulder = character:FindFirstChild("Right Shoulder", true)

    if rightShoulder then
        -- Example movement: adjust the C0 (joint's attachment point to the torso) and C1 (joint's attachment point to the arm)
        rightShoulder.C0 = rightShoulder.C0 * CFrame.new(-1, 0, 0) -- Moves the right hand to the left
        rightShoulder.C1 = rightShoulder.C1 * CFrame.Angles(0, 0, math.rad(45)) -- Rotates the right arm
    else
        warn("Right Shoulder not found!")
    end
end

-- Run the function when the script starts
moveRightHand()

2 Likes

Thanks for the help! Though do I put this in a local script in the tool?

1 Like

Hey, just so you know, if a player has a shirt or an accessory that specifically adds something to the right arm, the accessory/shirt area will be moved to the left, so it might look a little wacky for the player.

1 Like

If you want it to work when the tool is equipped, put a LocalScript inside the tool and replace the last line with

script.Parent.Equipped:Connect(moveRightHand)
1 Like