@anonymous/

SameGruesomeLamp

Lua

No description

fork
loading
Files
  • main.lua

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.43541129676674317","path":"main.lua","file":{"path":"main.lua","content":{"asEncoding":{"base64":"dCA9IHsicnVuIiwgImhvcCIsICJkYW5jZSIsICJza2lwIiwgImxlYXAiLCAiYm91bmNlIiwgImh1ZyIsICJmcm9saWMiLCAicG90YXRvIiwgInRvbWF0byIsICJib29tIn0KdG51bSA9ICN0CnByaW50KHRhYmxlLmNvbmNhdCh0LCAnLCcpKQpmb3IgaSA9IHRudW0sIDEsIC0xCmRvCglybiA9IG1hdGgucmFuZG9tKHRudW0pCglwcmludCh0W3JuXSkKCXRhYmxlLmluc2VydCh0LCB0bnVtLCB0YWJsZS5yZW1vdmUodCxybikpCgl0bnVtID0gdG51bSAtMQplbmQKCnByaW50KCJzZWNvbmQgcnVuPT09PT09PT09PT09PT09IikKdG51bSA9ICN0CmZvciBpID0gdG51bSwgMSwgLTEKZG8KCXJuID0gbWF0aC5yYW5kb20odG51bSkKCXByaW50KHRbcm5dKQoJdGFibGUuaW5zZXJ0KHQsIHRudW0sIHRhYmxlLnJlbW92ZSh0LHJuKSkKCXRudW0gPSB0bnVtIC0xCmVuZAoKcHJpbnQoInRoaXJkIHJ1bj09PT09PT09PT09PT09PT09IikKdG51bSA9ICN0CmZvciBpID0gdG51bSwgMSwgLTEKZG8KCXJuID0gbWF0aC5yYW5kb20odG51bSkKCXByaW50KHRbcm5dKQoJdGFibGUuaW5zZXJ0KHQsIHRudW0sIHRhYmxlLnJlbW92ZSh0LHJuKSkKCXRudW0gPSB0bnVtIC0xCmVuZAo="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
t = {"run", "hop", "dance", "skip", "leap", "bounce", "hug", "frolic", "potato", "tomato", "boom"}
tnum = #t
print(table.concat(t, ','))
for i = tnum, 1, -1
do
	rn = math.random(tnum)
	print(t[rn])
	table.insert(t, tnum, table.remove(t,rn))
	tnum = tnum -1
end

print("second run===============")
tnum = #t
for i = tnum, 1, -1
do
	rn = math.random(tnum)
	print(t[rn])
	table.insert(t, tnum, table.remove(t,rn))
	tnum = tnum -1
end

print("third run=================")
tnum = #t
for i = tnum, 1, -1
do
	rn = math.random(tnum)
	print(t[rn])
	table.insert(t, tnum, table.remove(t,rn))
	tnum = tnum -1
end