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?
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.
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.