
Lv.1
hhhhhh,随便写
签名:个人网站:http://site-673550-3478-5397.mysxl.cn/
在 代码代码搞代码! 中回复
<font color=#6C00F6>这</font><font color=#7200ED>是</font><font color=#7800E4>一</font><font color=#7E00DB>串</font><font color=#8400D2>代</font><font color=#8A00C9>码</font><font color=#9000C0>(</font><font color=#9600B7>可</font><font color=#9C00AE>以</font><font color=#A200A5>让</font><font color=#A8009C>字</font><font color=#AE0093>体</font><font color=#B4008A>变</font><font color=#BA0081>颜</font><font color=#C00078>色</font><font color=#C6006F>)</font>,看看输出内容:
2020-05-04T13:34:50 点赞:0
在 小镇之战,代码备份。 中回复
world.say("hi,欢迎来到小镇之战")
sleep(5)
world.say("你可以在这里随便喵")
sleep(5)
world.say("还可以变成物体的样子")
sleep(8)
world.say("现在,尽情的打吧!")
//一个简单的射击PvP
world.onPlayerJoin(({ entity }) => {
entity.enableDamage = true;
entity.player.onPress(({ button, raycast:{ hitEntity, direction } }) => {
if (button !== 'action0' || !hitEntity) {
return;
}
hitEntity.velocity.x += direction.x;
hitEntity.velocity.y += 5;
hitEntity.velocity.z += direction.z;
hitEntity.hurt(9999999999 * Math.random()+299999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999995, {
attacker: entity,
});
});
});
2020-05-06T11:26:36 点赞:0
在 小镇之战,代码备份。 中回复
world.say("hi,欢迎来到小镇之战")
sleep(5)
world.say("你可以在这里随便喵")
sleep(5)
world.say("还可以变成物体的样子")
sleep(8)
world.say("现在,尽情的打吧!")
//一个简单的射击PvP
world.onPlayerJoin(({ entity }) => {
entity.enableDamage = true;
entity.player.onPress(({ button, raycast:{ hitEntity, direction } }) => {
if (button !== 'action0' || !hitEntity) {
return;
}
hitEntity.velocity.x += direction.x;
hitEntity.velocity.y += 0.5;
hitEntity.velocity.z += direction.z;
hitEntity.hurt(20* Math.random()+20, {
attacker: entity,
});
});
});
2020-05-06T14:35:49 点赞:0