We use cookies on this site to enhance your user experience

PointsService

PointsService

This service controls points. Points are an award system used to showcase a player’s achievements and participation throughout Roblox. How points are awarded through this service is at the discretion of the game’s developer.




Functions

Name Type Description
Tuple

Attempts to award the user with the specified Player/UserId the specified number of points. If successful, this function will return the UserId of the user the points were awarded to, the number of points awarded, the new total number of points the user has in the game and another value which appears to always be 0. This function will cause an error if the specified UserId is not positive or if the number of points specified is 0. The function can be used to award a negative number of points to a user however.

int

Returns the total number of points a player has in the current game.

Inherited from Instance

ClearAllChildren Clone Destroy FindFirstAncestor FindFirstAncestorOfClass FindFirstAncestorWhichIsA FindFirstChild FindFirstChildOfClass FindFirstChildWhichIsA GetChildren GetDebugId GetDescendants GetFullName GetPropertyChangedSignal IsA IsAncestorOf IsDescendantOf WaitForChild

Events

Name Type Description

Fires when points have been successfully awarded to a player, whilst also passing along the updated balance of points the player has in the current game and all games.

Inherited from Instance

AncestryChanged Changed ChildAdded ChildRemoved DescendantAdded DescendantRemoving