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