how does a math.random function work lua code example Example: lua math.random local M = math.random(1,2) --Input you number print(M)