Making a collectible that saves if its been touched or not

i want it so that once you leave and join the game again, that same coin you touched earlier isn’t there anymore. is there anyway to do this? i tried saving a value that turns true once you touch it, but this didnt work.

You could add an attribute or the collectible’s unique name as an identification and save that to a table in your playerdata called “collected” or something then when entered run a function that loops through the collectibles folder with all your collectibles and locally remove the ones that match any of the identification in the “collected” playerdata

Use data stores, and check when a value is true in a list.

You can even use Datastore2 for an easier way of making data stores