用户:
adbbb查看:7 回复:14 评论:7 创建时间:2020-09-25T21:52:28
谁能给我点代码?(给你作品点赞)
SHS不是奥尔菲斯而是import os
while True:
os.system('"C:/Program Files/Internet Explorer/iexplore.exe"https://shequ.codemao.cn/community/343142 ')
点赞2
评论
SHS不是奥尔菲斯而是import os
while True:
os.system('"C:/Program Files/Internet Explorer/iexplore.exe"https://shequ.codemao.cn/community/343142 ')
点赞2
评论
起锅烧油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.3;
hitEntity.velocity.z += direction.z;
hitEntity.hurt(20 * Math.random() + 5, { attacker: entity, });
});
});
world.onDie(({ entity, attacker }) => {
if (attacker) {
world.say(attacker.player.name + ' 把 ' + entity.player.name + '给***了')
entity.player.forceRespawn();
}
});//一点代码?????什么鬼 谁知道你要神马代码点赞1
评论
圣婴大王红孩儿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.3;
hitEntity.velocity.z += direction.z;
hitEntity.hurt(20 * Math.random() + 5, { attacker: entity, });
});
});
world.onDie(({ entity, attacker }) => {
if (attacker) {
world.say(attacker.player.name + ' 把 ' + entity.player.name + '给***了')
entity.player.forceRespawn();
}
})点赞1
评论
J_K_Hermione_build白泽var teleportPlayer = ''//定义传送玩家变量
world.onChat(({entity,message})=>{
if (message.startsWith('/tp')){//如果以'/tp'开头
teleportPlayer = message.slice(4)//这里是四因为要空格
world.querySelectorAll('player').forEach((x)=>{//遍历玩家列表
if (x.player.name == teleportPlayer){
entity.position.copy(x.position)//传送
world.say('已将'+entity.player.name+'传至'+x.player.name)//提示语
}
})
}
})点赞2
评论