NOTE: IM USING R6 FOR THIS

As the name says, Im making a tool where when you equip It, It will appear on the left arm of the R6 rig, but It appears to simply appear where I originally placed It (Im also trying to avoid where the default tool Idle animation plays)

Script:

local tool = script.Parent
local Char = tool.Parent
local Humanoid = Char.Humanoid

tool.Equipped:Connect(function()
	local Weld = Instance.new("Weld")
	
	Weld.Parent = tool.Stick
	Weld.Part0 = tool.Stick
	Weld.Part1 = Humanoid.Parent["Left Arm"]
	tool.Stick.Position = Humanoid.Parent["Left Arm"].Position
	tool.Stick.Orientation = Humanoid.Parent["Left Arm"].Orientation
	
	tool.Unequipped:Connect(function()
		Weld:Destroy()
	end)
end)

1 comment

0

maybe do some research before posting... https://devforum.roblox.com/t/weld-tool-to-the-hand/228537/2