local player = game.Players.LocalPlayer local character = player.Character local rhand = character.RightHand local weld = Instance.new("Weld") weld.Parent = script.Parent weld.Part0 = script.Parent weld.C0 = rhand.CFrame:inverse() weld.Part1 = rhand weld.C1 = script.Parent.CFrame:inverse() script.Parent.Anchored = false script.Parent.CFrame = rhand.CFrame * CFrame.new(0,0,4)
This script welds parts together whenever they're inside a tool, but for the life of me I cant get it to work without being in a tool.