So I suck at math lmao or my knowledge of the roblox API is not large enough. I would like to know to grab item with a certain keybind. Here's what I came up with :
Character.GrabRightArm.Touched:Connect(function(hit) if hit and RG == true then -- Checks for Welds local Weld = Character.GrabRightArm:FindFirstChild("Weld") if Weld and Weld.Part1 ~= hit then Weld:Destroy() local Weld = Instance.new("Weld", Character.GrabRightArm) Weld.Part0 = Weld.Parent Weld.Part1 = hit Weld.C0 = Weld.Part0.CFrame Weld.C1 = Weld.Part1.CFrame hit.Massless = true elseif Weld == nil then local Weld = Instance.new("Weld", Character.GrabRightArm) Weld.Part0 = Weld.Parent Weld.Part1 = hit Weld.C0 = Weld.Part0.CFrame Weld.C1 = Weld.Part1.CFrame hit.Massless = true end end end)
This is the only part required because it's where the weld is being made.