I've tried this multiple times now but get stuck at the data store part. I honestly have no idea what I should be using, tables or just a standard datastore?
But what I'm attempting to do is make it so a player can enter a code only once and entering it will give them X amount of currency
Like I usually say I'm not asking for an entire script just some help on where to start with this.

3 comments
Provide your attempt to see what you're doing. Edit your question and format the code inside of a code block.
search up data stores in roblox wiki then try to do the code yourself. If you need help with it come back here and post what you coded so far
This guide should help. https://scriptinghelpers.org/guides/saving-and-loading-data-with-datastores