Lv.1
在 [创作节下半场] 咸鱼求组队 中回复
来不来https://box3.fun/e/03102e76699f804f6e59啊!!!!!!!!!!!!!
![]()
2021-07-22T13:39:28 点赞:0
在 【box3】代码岛数据库---稿件征集! 中回复
名称:跑(hui)酷(tu)代码
类型:代码 .txt
图片:
代码:
(async function () {
var i, j; function mathRandomInt(a, b) {
if (a > b) {
var c = a;
a = b;
b = c;
}
return Math.floor(Math.random() * (b - a + 1) + a);
}
world.say('毁图喵即将爆炸!');
console.warn('毁图喵即将爆炸!');
for (i = 1; i <= 9; i++) {
await sleep(1000);
console.clear();
world.say(['当前还剩', 10 - i, '秒爆炸!'].join(''));
console.error((['当前还剩', 10 - i, '秒爆炸!'].join('')));
}
await sleep(1000);
console.clear(); world.say('轰~~~');
console.warn('你失败了~');
for (j = 1; j <= 100000; j++) {
voxels.setVoxel((mathRandomInt(0, 128)), (mathRandomInt(0, 128)), (mathRandomInt(0, 128)), (voxels.id("air")));
voxels.setVoxel((mathRandomInt(0, 128)), (mathRandomInt(0, 128)), (mathRandomInt(0, 128)), (mathRandomInt(0, 541)));
await sleep(1);
}
console.log('你熬过了输入者对你的折磨');
world.say('毁图结束');
})();
以上是普通版,下面是隐藏版:
(async function () {
var i, j; function mathRandomInt(a, b) {
if (a > b) {
var c = a;
a = b;
b = c;
}
return Math.floor(Math.random() * (b - a + 1) + a);
}
console.warn('毁图喵即将爆炸!');
for (i = 1; i <= 9; i++) {
await sleep(1000);
console.clear();
console.error((['当前还剩', 10 - i, '秒爆炸!'].join('')));
}
await sleep(1000);
console.clear(); world.say('轰~~~');
console.warn('你失败了~');
for (j = 1; j <= 100000; j++) {
voxels.setVoxel((mathRandomInt(0, 128)), (mathRandomInt(0, 128)), (mathRandomInt(0, 128)), (voxels.id("air")));
voxels.setVoxel((mathRandomInt(0, 128)), (mathRandomInt(0, 128)), (mathRandomInt(0, 128)), (mathRandomInt(0, 541)));
await sleep(1);
}
console.log('你熬过了输入者对你的折磨');
})();2021-07-22T20:05:58 点赞:0
在 [创作节下半场] 咸鱼求组队 中回复
来不来https://box3.fun/e/03102e76699f804f6e59啊!!!!!!!!!!!!!
![]()
2021-07-22T20:06:43 点赞:0
在 【BOX3超级干货】如何做出过山车(大佬勿喷) 中回复
66666666666666666666666666666666666666666666666666666
2021-08-01T13:10:55 点赞:0