player.score
Type: NumberThe player's current score. The value is capped at 30,000; attempting to increase it past 30,000 will simply set it to 30,000.
Example
-- -- Award a player one point for every frame they spend alive: -- for each player do if current_player.biped != no_object then -- -- If the player has a biped on the map, then they must be alive. -- current_player.score += 1 end end