Example on my game:
Noob buys 1000 cash for 10 ROBUX, the server gets 1 Point. I want noob to automatically get that point when he successfully bought the cash, since 1R$ counts as the point. I can't figure out a working script, even though I checked the caps, spelling etc. Could someone please assist me on this?
This might not work correctly depending on how you set it up.
local PointsService = Game:GetService("PointsService") -- Put this at the top of the script where they receive the currency --PointsService:AwardPoints(user.userId, 1) <-- Place that after the line of code where they receive the currency. Edit the 1 to how ever many points you want to award them. Also the "user.userId" might be wrong, if you have the player defined with the function, replace 'user' with however the player is defined.
I believe this should work, if not I am sure someone will fix it.