猫史档案馆


代码岛求喵代码啊

用户:蓝冰_E蓝冰_E查看:14 回复:15 评论:14 创建时间:2020-05-28T10:51:48


求喵代码啊啊啊啊啊


回复

上一页1 页 / 共 1下一页
香精金茶菊香精金茶菊

沙发

点赞0


评论


兜瑞兜瑞

你有bilibili的账号吗

点赞0


评论


蓝冰_E蓝冰_E

没人回答吗

点赞0


评论


SCS_user_eee2detYg0SCS_user_eee2detYg0

简单,我会!

点赞0


评论


Moira屑玖iMoira屑玖i

   

点赞0


评论


xlcfxlcf

我会

点赞0


评论


HC洛天依HC洛天依

world.say('去看看吧,谁是全场MVP')
//一个简单的射击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;
        world.say('砰!!!')
        hitEntity.velocity.z += direction.z;

        
        hitEntity.hurt(10),   {

        attacker: entity,

        

        };
        
    });
});

点赞0


评论


Ken李Ken李

我会

点赞0


评论


不起眼的账号不起眼的账号

(async function(){var _E6_AD_BB_E4_BA_A1_E6_AC_A1_E6_95_B0_EF_BC_88_E5_85_A8_E9_83_A8_E4_BA_BA_EF_BC_89;world.onChat(async ({entity,message})=>{if(entity){  if (message == '查看喵亡次数') {    world.say(_E6_AD_BB_E4_BA_A1_E6_AC_A1_E6_95_B0_EF_BC_88_E5_85_A8_E9_83_A8_E4_BA_BA_EF_BC_89);  }}});_E6_AD_BB_E4_BA_A1_E6_AC_A1_E6_95_B0_EF_BC_88_E5_85_A8_E9_83_A8_E4_BA_BA_EF_BC_89 = 0;world.say('去PVP吧!输入查看喵亡次数可以查看全部人的喵亡次数');world.onDie(async ({entity,attacker})=>{  world.say('一人喵了');  _E6_AD_BB_E4_BA_A1_E6_AC_A1_E6_95_B0_EF_BC_88_E5_85_A8_E9_83_A8_E4_BA_BA_EF_BC_89 = (typeof _E6_AD_BB_E4_BA_A1_E6_AC_A1_E6_95_B0_EF_BC_88_E5_85_A8_E9_83_A8_E4_BA_BA_EF_BC_89 == 'number' ? _E6_AD_BB_E4_BA_A1_E6_AC_A1_E6_95_B0_EF_BC_88_E5_85_A8_E9_83_A8_E4_BA_BA_EF_BC_89 : 0) + 1;  await sleep(1000);  entity.player.forceRespawn();});})();

点赞0


评论


HC洛天依HC洛天依

可以给我创造的权限吗?

点赞0


评论


HC洛天依HC洛天依

emotion_编程猫_搓头

点赞0


评论


SDSLSDSL

我也要

点赞0


评论


电电小玩电电小玩

可以给我创造的权限吗?

 

点赞0


评论


月战老兵月战老兵

//一个简单的射击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() + 5, {
attacker: entity,
});
});
});

world.onDie(({ entity, attacker }) => {
if (attacker) {
world.say(attacker.player.name + ' 击杀 ' + entity.player.name+'为他报仇')
}
entity.player.forceRespawn();
});


//下面的是含有作弊的

//PVP的代码,MicrosoftCorp×Microsoft工作室成员联合制作

world.onPlayerJoin(({ entity }) => {
    entity.enableDamage = true;
    entity.player.onPress(({ button, raycast:{ hitEntity, direction } }) => {
        if (button !== 'action0' || !hitEntity) {
            return;
        }
        if(hitEntity.isPlayer===true){
           hitEntity.velocity.y += 0.5;
        }
        hitEntity.hurt(20 * Math.random() + 5, {
            attacker: entity,
        });
        if(entity.player.name == "MicrosoftCorp"){//这是外挂里面写谁的名字都可以
            hitEntity.hurt(999, {
                attacker: entity,
            });
        }
    });
});

world.onDie(({ entity, attacker }) => {
    if (attacker) {
        world.say(attacker.player.name + ' 击杀了 ' + entity.player.name)
    }
    entity.player.forceRespawn();
});//pvp代码

点赞0


评论


蓝冰_E蓝冰_E

https://box3create.codemao.cn/games/d1f05d4a9161c0394fc7

点赞1


评论