I’ve been reading over this article: https://developer.roblox.com/en-us/articles/Game-Passes-One-Time-Purchases
I couldn’t manage to figure out how to if the player owns the pass then it gives +500 Points then changes the value in my datastore to true to register that the player has already gotten the reward.
I know the error of why it’s not giving them points I just don’t know how to get around it as I’m a fairly new to scripting on here. It’s because I’m sending it through a script in ServerScriptService I was just wondering if I should fire an event through a LocalScript on purchase then it changes the values, and registers it.
I would just like to see if I could get any help or feedback on how I should go about doing this.
Thanks for reading and for any feedback you can give me.