You can write your topic however you want, but you need to answer these questions:
What do you want to achieve?
Clone tool and put into players backpack.
What is the issue?
When the tool is cloned and in the players backpack the scripts inside it won’t work. Like .Activated()
What solutions have you tried so far?
I’ve searched around and it doesn’t seem like people are having this issue
Local: or i, itemButton in pairs (InventoryGui.ItemBackground.Frame:GetDescendants()) do
if itemButton:IsA("ImageButton") then
itemButton.MouseButton1Up:Connect(function()
if script.Parent.Parent.Chest.Enabled == false then
script.Parent.Picked.Value = itemButton
itemButton.Parent.Visible = false
game.ReplicatedStorage.EquipPickup:FireServer(itemButton.Parent.Name)
else
game.ReplicatedStorage.Chest:FireServer(chest, itemButton.Parent)
end
end)
end
end
Server:
game.ReplicatedStorage.EquipPickup.OnServerEvent:Connect(function(player, itemButton)
if curHotbar < maxHotbar then
curHotbar = curHotbar + 1
local tool = game.ReplicatedStorage.Tools:FindFirstChild(itemButton):Clone()
tool.Parent = player.Backpack
end
end)
That won’t really change the way the tool is cloned. The tool clones into the players backpack already. I’m trying to figure out why when the tool is cloned the .Activated() function in the tool won’t work but when I put it in StarterPack it works fine. I’ll try it though. Thanks for responding