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

Detect when data not found?

Asked by 10 years ago

Is there a way to detect when something in DataStore isn't found? Because i'm working on a script that executes when the player FIRST visits the game & i need to know how i would detect if the key visited wasn't there.

Also, this is for a player. I'm using the PlayerDataStore module.

Edit: NVM I got it working. I apologize.

Answer this question