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