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

How do you give players ''player points'' in games?

1 answer

This will give the player 2 playerpoints when they enter the game. Note: The game must have available playerpoints in it to give them to players. A game gets playerpoints when a player buys a product from the game.

function Add(player)
local PointsService = Game:GetService("PointsService")
PointsService:AwardPoints(player.userId, 2)
end

game.Players.PlayerAdded:connect(Add)

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