Example of Lua in Roblox
local test = 1 test=test+1 if test == 2 then print(test+1) end |
Example 1
小遊戲
1. 以下script的output是?
for i=0,1 do for j=10,15 do print(j) end print(i) end |
答案 | 原因 |
---|---|
10
11 12 13 14 15 0 10 11 12 13 14 15 1 | 雙重 For loop
第一關咋!!唔好放棄 └(=^‥^=)┐ |