📜  roblox 如何从表中获取随机对象 - Lua 代码示例

📅  最后修改于: 2022-03-11 14:54:55.281000             🧑  作者: Mango

代码示例1
local example = {"i","am","so","bored"}
local randomObject = example[math.random(1, #example)]