How can i make a game only playable once?

hey, so i’m making a game with an interesting concept (it’s been done before, not on Roblox though!)

basically, you can only play the game ONCE, and whichever ending you get, you cannot change. I have a general idea like maybe getting a bool value to check if the player has finished the game and storing that value with a datastore. But I’m asking if there’s a more efficient way, is there?

Any help is appreciated, thank you!

DataStores would be the best thing to do in this case. You could save which endings the players got and make sure the players only get the endings once.

1 Like

yeah, i was thinking datastores. My question is: how would I trigger the bool value and get a constant check to see if it’s true? Would I have to touch a part and run a separate script to check if the value is true every x amount of time?

Once the player gets the ending, you could make the bool value true. Instead of doing a wait() loop, I suggest using .Changed to detect when the value changes. Inside you would run an if function to check if the value is true.

1 Like

oh this could work, i’m assuming i store the value and check every time the player joins to see if the value is true or false?

Yes, if you store it and check it when the player joins that would work :slight_smile:

1 Like

awesome, thank you! i know what i must do now