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

How do I give player points when a person joins a game?

I know it may have something weird to do with http or something.

Possibly like

function OnPlayerJoined(game)

2 answers

local pointsToAward = 1

game.Players.PlayerAdded:connect(function(player)
	game:GetService("MarketplaceService"):AwardPoints(player.userId, pointsToAward)
end

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