Ad
Log in to vote
0

Trying to make the tool weld to the torso but it just unequips and dosent do anything?

Asked by 8 months ago
Edited 8 months ago

I Want to attach the clone to the torso of the player and then delete when equipped, but dosent clone, nor makes a new instance, ive tried changing local script to script.

local tool = script.Parent
local handle = tool.Handle
local torso = script.Parent.Parent:WaitForChild("Torso", 1)

tool.Unequipped:Connect(function(weld)
    local attachment = Instance.new("Attachment", torso)
    local weld = Instance.new("WeldConstraint", torso)
    local clone = handle:Clone()
    weld.Part0 = torso
    weld.Part1 = handle
    clone.Position = Vector3.new(attachment.Position)
end)

0
are you putting that in a local script, or a server script? Xyternal 247 — 8mo
0
i put it in the tool as a local script AlphaRedAnt -4 — 8mo

Answer this question