Posted 14 December 2016 - 01:33 AM
basically I am making a random number from 1-16 and I want to convert it to the decimal for colors.
local myColor = 2 ^ (math.random(1, 16) - 1)
local myColor = 2 ^ math.random(0, 15)