Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Player Points Giving?

Im making a minigames server and I want to give a player point whenever someone wins. Is there a way I could do that?

1 answer

✓ Accepted answer

Yes. Use the AwardPoints method of PointsService.

You use it like this:

Game:GetService("PointsService"):AwardPoints( int userId, int amount )

It returns: userid, the new points total the user has inside the game, and the points total the user has globally.

Note: Make sure you have > 0 points in your points bank (or whatever). You can get this amount with

Game:GetService("PointsService"):GetAwardablePoints()

This discussion is preserved as it was. New answers, comments, and votes are closed.