random number generator roblox lua code example Example: roblox lua random number local randomNumber = math.random(1, 3)