#how do i get rid of this little delay thing when equipping my weapon?

1 messages · Page 1 of 1 (latest)

ancient dome
#

when i equip my weapon as you can see it doesnt go directly in the hand but starts in the arm first. how do i fix this?

serverscript:

game.Players.PlayerAdded:Connect(function(plr)            
    plr.CharacterAdded:Connect(function(char)        
        local M6D = Instance.new("Motor6D", char:FindFirstChild("Right Arm")) -- or the part that you have decieded
        M6D.Name = "ToolGrip"

        char.ChildAdded:Connect(function(child)
            if child:IsA("Tool") and child:FindFirstChild("BodyAttach") then
                M6D.Part1 = child.BodyAttach
                M6D.Part0 = char:FindFirstChild("Right Arm")
            end
        end)
    end)
end)

local script:

local char = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
local load = char:WaitForChild("Humanoid"):LoadAnimation(script.idle)


char.ChildAdded:Connect(function(child)
    if child:IsA("Tool") and child:FindFirstChild("BodyAttach") then
        char:FindFirstChild("Right Arm").ToolGrip.Part1 = child.BodyAttach
    end
end)


script.Parent.Equipped:Connect(function()
    load:Play()        
end)

script.Parent.Unequipped:Connect(function()
    load:Stop()
end)
#

u see it starts in the arm first

#

yk

#

@summer lintel

lofty stump
#

ima be honest

#

no idea

ancient dome
#

bro what do all these people use to animate their tools

lofty stump
#

smth like equip animation is prolly a thing

lofty stump
ancient dome
#

yah but like the delay thing in the beginning is still gonna be there

ancient dome
#

to script it

#

i use moon animator too

lofty stump
#

idk im not into animating at all

ancient dome
lofty stump
#

nop

ancient dome
#

bru

lofty stump
#

im more into sleeping rn tbf

#

its 4am

ancient dome
royal monolith
#

Try setting the root of the weapon to the c0 and c1 of the m6d before parenting to the workspace

pseudo moat
# ancient dome to script it

from my experience i just animate the weapon mesh with my character and implement it into the character when equipping with animation

#

i don't use tool objects

ancient dome
royal monolith
ancient dome
#

ig i can

#

try doing something like that

royal monolith
#

why use tools if you're gonna use the m6d anyway

ancient dome
#

i dont use meshes tho

ancient dome
#

because otherwise

#

i would have to make like logic to equip it and stuff

royal monolith
#

Then you don't need a tool

#

make a root part and weld non animated part use m6d for animated parts

ancient dome
#

otherwise i probably gotta make new things

royal monolith
#

You just need a root part.

ancient dome
royal monolith
#

If you mean for the equipping

#

then either you code an inventory from scratch

#

or you do what i said first.

ancient dome
#

ill look into it

#

doesnt seem TOO complicated

royal monolith
#

if your part has c1 means you did something wrong

#

unless you need 2 separate cframes

#

but you usuallly js need c0

lofty stump
#

idk guys

wind thorn
#

bro

#

just use handle

#

🙏

wind thorn
lofty stump
#

ts peak