The wiki post doesn't help me much. I want to know how I could make a script that if someone buys a developer product from my game Racker that they will be awarded a Player Point.
✓ ANSWER ACCEPTED
How do you make a script that you are awarded a Player Point if you buy something in your game?
2 answers
✓ Accepted answer
At the moment player points are in beta and you have to be on the beta testing list to sell them. Also it is currently against the rules to sell developer products for the sole purpose of giving player points (just as a heads up).
Run this online to see if you can award player points.
print(game:GetService("PointsService"):GetAwardablePoints())
If that outputs a number other than 0 it means you can award points! Use this to award them.
game:GetService("PointsService"):AwardPoints(player.userId, 1)
article: Plr pts
That article helps you
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I already said the wiki post didn't help much. I need like a strip of code.
stop begging for the code. show us what you tried, so sorry