Roblox - 我如何让领导者在短期内展示?

时间:2018-06-02 11:47:26

标签: roblox

我在robl0x上制作了一个模拟器游戏,我希望我的领导者能够以较小的数量展示,因为当领导者在1.38947中展示时,玩家不会看到他们的现金...所以我想让领导者在短期内展示

继承我的剧本:

local stat = player.leaderstat    
if stat >= 1000 and stat < 1000000 then
    return(stat/1000.."K")    
elseif stat >= 1000000 and stat < 1000000000 then
    return(stat/1000000.."M")
elseif stat >= 1e+9 and stat < 1e+12 then
    return(stat/1e+9.."B")
elseif stat >= 1e+12 and stat < 1e+15 then
    return(stat/1e+12.."T")
end

0 个答案:

没有答案