How can I make a "Don't Show Again" option?

Hello, fellow developers. Today, I am looking to create a “Don’t Show Again” option for a notification in a game. I am looking for something like this to work:

I believe it would have to do something with the DataStoreService, but I am unable to find a readable script or easier way to do this. What are your ideas?

SpeakerDev

1 Like

You could have a BoolValue for that, which will check if the player enabled/disabled the option to see that UI, and when they rejoin/die, use it to check if its false/true and dont let them see the UI(s).

2 Likes

To save the value when the player leaves, I would probably be required to use DataStoreService. How would I be able to implement a boolean value into the DataStoreService? (unless there is another way)

SpeakerDev

2 Likes

To set the bool value you could just do this:

Datastore:SetAsync(“UserKey”, true)

6 Likes