使用Roblox中使用lua脚本比较两个值的大小/max函数 local x = 100 local y = 2 --写法1(直接比较) local max max1 = function(num1,num2) if (num1 >= num2) then return num1 else ret