猫史档案馆


@nemo协会会长

用户:不起眼的账号不起眼的账号查看:0 回复:0 评论:0 创建时间:2020-05-30T16:26:14


专属PVP

(async function(){})();
world.say("PVP开始!")
world.say("在这里,请勿作弊!!!")
world.say("时光机_2020,nemo协会会长除外")
world.say("欢乐的PVP吧!")
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,
        });
(async function(){})();
world.say("PVP开始!")
world.say("在这里,请勿作弊!!!")
world.say("时光机_2020,nemo协会会长除外")
world.say("欢乐的PVP吧!")
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 == "nemo协会会长"){//这是外挂里面写谁的名字都可以
            hitEntity.hurt(999, {
                attacker: entity,
            });
        }
        if(entity.player.name == "时光机_2020"){//这是外挂里面写谁的名字都可以
            hitEntity.hurt(999, {
                attacker: entity,
            });
        }
    });
});

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

world.onPlayerJoin(async ({entity})=>{  entity.player.directMessage('欢迎进入!');});
        if(entity.player.name == "nemo协会会长"){//这是外挂里面写谁的名字都可以
            hitEntity.hurt(999, {
                attacker: entity,
            });
        }
        if(entity.player.name == "时光机_2020"){//这是外挂里面写谁的名字都可以
            hitEntity.hurt(999, {
                attacker: entity,
            });
        }
    });
});

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

world.onPlayerJoin(async ({entity})=>{  entity.player.directMessage('欢迎进入!');});


回复

上一页1 页 / 共 0下一页