So basically, I’m making a platformer game heavily inspired by super Mario 64. I’m planning on using data stores to save the stars but What I encountered a problem. The star would still be able to be picked up again if the player leaves and joins back. How would I go about fixing this to make the star permanently unable to be picked up again?
You’d need to save which stars have been collected.
I think the most optimal way to do this is to save the collected stars in a table, and use #table to get the amount of stars, that way you don’t need to save both stars collected and a star count.
Ok I’ll look into it thank you so much
Wait but one thing, This would work but the way I’m planning to make the game is the stages are in completely different places. How would I transfer tables from one place to another?
Using Datastore? You can save tables and access it at a different place, just like a number.
Okay I just realised what you meant thank you. So you’re basically using data stores I have a separate value for the actual stars and the stars amounts right? I think I understand things from there thanks so much your a life saver