-- click button
RetrieveItem:FireServer('Shirts', v)
RetrieveItem.OnServerEvent:Connect(function(player, assetType, id)
CustomiseStorage:ClearAllChildren() -- if I comment this one line out then the NPC stays normal
end)
Not sure what other code I should be adding here, as this is the only code that’s affecting this. But I have a dummy
But when I click a button
Bam all of a sudden all the assets on my dummy are gone. I’ve checked and this is the exact same dummy (so it’s not being replaced or anything)
The problem lies with
CustomiseStorage:ClearAllChildren()
As when I remove that one line it doesn’t destroy my dummies assets. However I need to clear the CustomiseStorage (located in repstorage) as I load assets into that folder, then from that folder, get them in the client, apply them to the dummy

