Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How To Position A Custom Tool Handle Correctly?

So I have a tool which I don't want the default hold up animation on. So I disabled RequireHandle and made a script that welds the custom handle to the players hand. Tho the handle is not positioned correctly. Custom Handle Example

This is the weld thats called when equipping the tool.

local handle = Tool:FindFirstChild("NotHandle") -- NotHandle is the custom handle
local hand = Tool.Parent:FindFirstChild("RightHand")
	
local weld = Instance.new("Weld", handle)
weld.Part0 = handle
weld.Part1 = hand
weld.C0 = CFrame.new(0, hand.Size.Y/2,0)

When renaming the custom handle to "Handle" and changing its position with the plugin "Tool Grip Editor" everything works, but the default hand out animation shows. Normal Handle Example

So how would I make it position the same as when im using a normal handle but with a custom handle. Im guessing I need to do something with the weld.C0, but everytime I tried changing anything there, the positioning just got weirder. Here is my tool in explorer

3 answers

Fixed it with this:

	local weld = Instance.new("Weld", handle)
	weld.Part0 = handle
	weld.Part1 = hand
	weld.C0 = CFrame.new(0.3, 0.1, 0) * CFrame.Angles(0, math.rad(90), 0)

This discussion is preserved as it was. New answers, comments, and votes are closed.