Roblox Wiki
Roblox Wiki
38,912
pages

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

  • YieldsThis function can yield the script it is used in.
  • DeprecatedThis member will be phased out and should be avoided while it is still available.
Parameters
NameType
userIdint64
amountint
  • Thread safety: unsafe

GetAwardablePoints(): int

  • DeprecatedThis member will be phased out and should be avoided while it is still available.

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 Script light iconScript dark iconScripts only.

  • Thread safety: unsafe

GetGamePointBalance(userId: int64): int

  • YieldsThis function can yield the script it is used in.
  • DeprecatedThis member will be phased out and should be avoided while it is still available.
Parameters
NameType
userIdint64
  • Thread safety: unsafe

GetPointBalance(userId: int64): int

  • YieldsThis function can yield the script it is used in.
  • DeprecatedThis member will be phased out and should be avoided while it is still available.
Parameters
NameType
userIdint64
  • Thread safety: unsafe

Events

PointsAwarded(userId: int64, pointsAwarded: int, userBalanceInGame: int, userTotalBalance: int)

Parameters
NameType
userIdint64
pointsAwardedint
userBalanceInGameint
userTotalBalanceint
  • Thread safety: unsafe

External links[]

References[]

  1. dragonknightflies (2023, May 3). "Retiring PointsService". From DevForum. Accessed July 22, 2023. Archived from the original on July 22, 2023.