menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Easy Question for basically any scripter..
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Easy Question for basically any scripter..
deathdoor95
Join Date: 2010-02-19
Post Count: 2080
#140851897
Saturday, July 19, 2014 4:21 PM GMT
Err, I forgot how to do the math.random for a table like players = game.Players:GetPlayers() for i = 1,#players do teams = {"Red Team","Blue Team"} players.TeamColor = math.random --here is where i get stuck, help?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
deathdoor95
Join Date: 2010-02-19
Post Count: 2080
#140852071
Saturday, July 19, 2014 4:24 PM GMT
bump1
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
filiptibell
Join Date: 2013-03-10
Post Count: 2362
#140853527
Saturday, July 19, 2014 4:43 PM GMT
tablename[math.random(1, #tablename)] ~The herp lerped a derp~
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right