猫史档案馆


求跑酷代码

用户:我是谁..我是谁..查看:8 回复:4 评论:8 创建时间:2020-04-05T13:44:17


如何做出跑酷终点奖励

求代码

帮助的人可以获得200源码币emotion_编程猫_加油


回复

上一页1 页 / 共 1下一页
我是谁..我是谁..

可以得到200源码币emotion_编程猫_溜了溜了

点赞0


评论


hecoshecos

你知道怎么设置标签吗?

点赞0


评论


QBZ_QBZ_

哦我这里有

点赞0


评论


QBZ_QBZ_

world.querySelector('.last').onEntityContact(({entity,other})=>{
    if(!(other.player.canFly)){
        other.player.canFly=true
        other.player.invisible=true
        world.say("恭喜"+other.player.name+"到达跑酷终点,并获得了飞行2分钟,隐身1分钟的奖励!!")
        world.PVP = true
    }
    setTimeout(function wait_fly(){other.player.canFly = false;world.say(other.player.name+"解除了飞行")},120000 );  
    setTimeout(function wait_inv(){other.player.invisible= false;world.say(other.player.name+"解除了隐身")},60000 );  
    if(other.player.canFly){
        setTimeout(function say(){world.querySelectorAll('.无人机').forEach((x) => x.say("无人机:"+other.player.name+",不许飞着做弊!我可看着呢!"))},1500)
        
    }
})

点赞1


评论