
Lv.1
在 重启地图代码求助!! 中回复
const admin=['/*管喵名字*/','']
world.onChat(({entity,message})=>{
if(message=='重启'&&admin.includes(entity.player.name)){
world.querySelectorAll('player').forEach((x)=>{
x.player.kick()//踢出所有玩家,有些图有自动保存,踢出后保存,以免数据丢失
})
while(1){}//创作端会报错
}
})//有bug告诉我2023-02-19T10:27:16 点赞:1
在 [box3代码求助帖] 中回复
world.onPress(async({eentity,raycast:{direction}})=>{
while(entity.player.action0button){
shoot(entity,direction)
await sleep(speed[entity.player.hand])
}
})
//shoot函数用的是bullet(模型).velocity.copy(direction)2023-02-25T08:37:48 点赞:0
在 [Box3]招建筑师 中回复
补充:
1. 只招1名建筑师
2. 地图代码https://box3.cod喵/e/0a3e11fde25afd76c90d
3. 要申请需回复此评论且加上你的box3名
4. 旧编辑器
2023-07-23T19:15:46 点赞:2