Score (Property)

From Legacy Roblox Wiki
Revision as of 16:50, 13 January 2011 by >ArceusInator (example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Score
Property Integer The team's score
Description This integer value is not used by any game services, but can be used to store a whole number value alongside a team.
Member of Team
Example
local team = Instance.new( "Team", game:GetService( "Teams" ) )
team.Name = "Blue Falcons"
team.Score = 0

while true do
   team.Score = team.Score + 1
   wait(5)
end