Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Possible to DataStore when a GUI is opened?

Asked by 6 years ago

Hello, Is it possible to datastore when a GUI is used/open in the game so when the player joins back it doesnt show it, I have a customization menu I only want to show once for each player and after that the "Play" Gui takes them to their last position.

0
For the GUI thing, data stores are inaccessible by clients. You'll need remotes to do this. User#19524 175 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

Yes you can by using a BoolValue since DataStoreService cant save Instances. So if your GUI has been open then it sets it to true or false depending on you, then when they join you could make a if statement if its already opened or not. You could also use other values too, such as StringValues, NumberValues etc.

Ad

Answer this question