I am trying to make it where if a certain value on a DataStore is true, then something will happen to a player. Once again, the wiki isn't really clear on this.
How would I make an if script check the DataStore and function off of it.
-- for example
if --(datastorevalue) -- lets just say this is coins
> 30 then
end
I'm struggling at the part where it reads the data store. I know this is a pretty easy question but I just can't figure out how to call the value of the DataStore.
