The problem is that sometimes when i equip and unequip then re-equip the tool the tool is gone, what i mean by that is that the tool is empty, no parts, no scripts like it had before
Script
local cl = game:ReplicatedStorage:WaitForChild('WoodenAxe')
local cl2 = cl:Clone()
script.Parent.MouseButton1Click:connect(function()
if Bought.Value == true and Equiped == false and AnyEquiped.Value == false then
print('All Requirements Met')
Type.Image = script.Parent.Parent.ImageLabel.Image
cl2.Parent = player.Backpack
script.Parent.BackgroundColor3 = EquipColor2
AnyEquiped.Value = true
Equiped = true
script.Parent.Text = 'UnEquip'
sound:Play()
elseif Bought.Value == true and Equiped == true then
Humanoid:UnequipTools()
wait(.1)
Type.Image = NA.Value
player.Backpack:findFirstChild("WoodenAxe"):remove()
script.Parent.BackgroundColor3 = UnequipedColor2
AnyEquiped.Value = false
Equiped = false
script.Parent.Text = 'Equip'
sound:Play()
end
end)
By the way this is just the portion of the script that has to do with the quesiton

1 comment
Normally I don't keep my tools in ReplicatedStorage. Wanna move it to ServerStorage and see what happens?