@Treatmentfrom is this already solved or not? if so mark it as solved so ppl can see.
this value needs to be saved to a datastore somehow else it will just be created each time the player rejoins the game, it will always be false and they will get the reward each time
it needs to be saved after setting it to true here:
it needs to be retrieved from the datastore and set here:
I see. Thanks for educating me on this.
I did not know you had to use DataStores for boolean values.
2 Likes
well anything that you want to persist when the player rejoins you would need datastore for you could save tables or anytype values even data for objects and properties
2 Likes