
Lv.1
签名:已润
在 【内测编辑器】可以高亮,缩进,的python编辑器! 中回复
import cgitb
cgitb.enable( format = "text")
你加这个了么
2020-04-02T22:49:44 点赞:0
在 谁会可以不然模型击飞的代码? 中回复
if{hitEntity.isPlayer}{return}//hitEntity是攻击者的参数名,这要看你在程序里用的参数名称2020-04-03T18:52:18 点赞:0
在 求跑酷代码 中回复
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)
}
})2020-04-05T14:37:40 点赞:1