I have a 3d2d button and I’m wondering if its possible to make that button remove the content from a table but when you press it again, the content from that table re appears?
Tried with table.empty but of course that only removes the table. Im guessing I’d have to copy the table somewhere and then paste it back after it gets removed?
if isMouseOrUseDown and table.Count( blabla.ammo ) > 6 then
table.Empty(blabla.ammo)
end
table1 is just the config table that holds some strings, this is for a vending machine.