menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Get a random color
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Get a random color
Dodeca
Join Date: 2011-09-11
Post Count: 13649
#184550099
Monday, February 29, 2016 9:42 PM GMT
I know I can use brickcolor.random but I want to choose a random color from really red, bright red, and neon orange.
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
cheesecake123456
Join Date: 2009-06-01
Post Count: 1529
#184550279
Monday, February 29, 2016 9:45 PM GMT
colours = {'Bright red', 'Really red', 'Neon orange'} -- ensure these have the right caps local chosenColour = colours[math.random(1, #colours)] local brickVal = BrickColor.new(chosenColour)
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