#Equip System is not working

1 messages · Page 1 of 1 (latest)

stable mist
#

can some on help me with my code i am trying to make an equip system but when trying to set the welds it keeps saying *(Part0 is not a valid member of Folder "Workspace.CoolMohsin160.Torso.Med" ) *Players.PlayerAdded:Connect(function(plr)

*plr.CharacterAdded:Connect(function(char)
    local torso =char.Torso
    --
    
    char:SetAttribute("Equipped", false)
    
    --
    
    local Weapon = Weapon.Sword
    Weapon.Parent = char
    
    
    Welds[plr] = WeaponsWeld.Med
    Welds[plr].Parent = torso
    **Welds[plr].Part0 = torso**
    Welds[plr].Part1 = Weapon
end)

end)* this is the code it keeps talking about the bold in the error line

*Btw i am a first tine coder if you need more details pls ask.

wet olive
stable mist
wet olive
#

i think

#

try it ig

stable mist
#

Ok thx I will try it when I get home🙏🏾