A service used to query and award Player Points for Roblox users using the universal point system. This class cannot be instantiated. It was added in Version 143.
Methods
AwardPoints(userId: int64, amount: int): Tuple
| Name | Type |
|---|---|
| userId | int64 |
| amount | int |
- Thread safety: unsafe
GetAwardablePoints(): int
Returns the number of Player points the current universe can award to players. Returned 2147483647 before June 30, 2023, and now returns 0.[1] Works with Scripts only.
- Thread safety: unsafe
Events
PointsAwarded(userId: int64, pointsAwarded: int, userBalanceInGame: int, userTotalBalance: int)
| Name | Type |
|---|---|
| userId | int64 |
| pointsAwarded | int |
| userBalanceInGame | int |
| userTotalBalance | int |
- Thread safety: unsafe
External links[]
References[]
- ↑ dragonknightflies (2023, May 3). "Retiring PointsService". From DevForum. Accessed July 22, 2023. Archived from the original on July 22, 2023.