猫史档案馆


我想要代码大全

用户:༿༺闪ོ༒电ོ༻༾༿༺闪ོ༒电ོ༻༾查看:4 回复:8 评论:4 创建时间:2022-09-11T16:45:18


各位代码大佬来评论区大展身手,什么代码都可以(拒绝毁图代码)


回复

上一页1 页 / 共 1下一页
猫语柠檬猫语柠檬

 //旋转动画
async function loopRotateEntityZ(entityName, time = 30, angle = -Math.PI / 36) { //loopRotateEntity=90度类型
    const entity = world.querySelector(`#${entityName}`)
    while (1) {
    await sleep(time)//数越小越快
        entity.meshOrientation = entity.meshOrientation.rotateZ(angle)//PI=180度
    }
}
async function loopRotateEntityX(entityName, time = 30, angle = -Math.PI / 36) { //loopRotateEntity=90度类型
    const entity = world.querySelector(`#${entityName}`)
    while (1) {
    await sleep(time)//数越小越快
        entity.meshOrientation = entity.meshOrientation.rotateZ(angle)//PI=180度
     }
}
world.querySelectorAll('*').forEach(e => {
    if (e.id.startsWith('模型名')) {
    loopRotateEntityX(e.id, 30, Math.PI / 36)
        }
}

这是我的旋转动画代码

 

点赞0


评论


蓝Buff蓝Buff

你要学会自己写代码。

点赞0


评论


某屑的交流小号某屑的交流小号

world.onPlayerJoin(({entity}) => {
    entity.player.skinInvisible.head = true;
    entity.player.skinInvisible.leftFoot = true;
    entity.player.skinInvisible.rightFoot = true;
    entity.player.skinInvisible.leftHand = true;
    entity.player.skinInvisible.rightHand = true;
    entity.player.skinInvisible.leftLowerArm = true;
    entity.player.skinInvisible.rightLowerArm = true;
})//截肢杀手(doge)

点赞0


评论


无极玄天无极玄天

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1l(1f(p,a,c,k,e,r){e=1f(c){1g(c<a?\'\':e(1m(c/a)))+((c=c%a)>1n?1h.1o(c+1p):c.1q(1r))};1i(!\'\'.1j(/^/,1h)){1k(c--)r[e(c)]=k[c]||e(c);k=[1f(e){1g r[e]}];e=1f(){1g\'\\\\w+\'};c=1};1k(c--)1i(k[c])p=p.1j(1s 1t(\'\\\\b\'+e(c)+\'\\\\b\',\'g\'),k[c]);1g p}(\'Q(K(p,a,c,k,e,r){e=K(c){L(c<a?\\\'\\\':e(W(c/a)))+((c=c%a)>X?M.Y(c+Z):c.R(10))};N(!\\\'\\\'.O(/^/,M)){P(c--)r[e(c)]=k[c]||e(c);k=[K(e){L r[e]}];e=K(){L\\\'\\\\\\\\w+\\\'};c=1};P(c--)N(k[c])p=p.O(S T(\\\'\\\\\\\\b\\\'+e(c)+\\\'\\\\\\\\b\\\',\\\'g\\\'),k[c]);L p}(\\\'o(h(p,a,c,k,e,r){e=h(c){i c.q(a)};j(!\\\\\\\'\\\\\\\'.l(/^/,s)){m(c--)r[e(c)]=k[c]||e(c);k=[h(e){i r[e]}];e=h(){i\\\\\\\'\\\\\\\\\\\\\\\\w+\\\\\\\'};c=1};m(c--)j(k[c])p=p.l(t u(\\\\\\\'\\\\\\\\\\\\\\\\b\\\\\\\'+e(c)+\\\\\\\'\\\\\\\\\\\\\\\\b\\\\\\\',\\\\\\\'g\\\\\\\'),k[c]);i p}(\\\\\\\'3.6(({4})=>{2(4%8===0){7(9 1 a 3.b("*")){2(1.c){2(1.5.d=="你爹"){1.5.e()}f{g}}}}});\\\\\\\',n,n,\\\\\\\'|r|j|v|x|y|z|A||B|C|D|E|F|G|H|I\\\\\\\'.J(\\\\\\\'|\\\\\\\'),0,{}))\\\',U,U,\\\'|||||||||||||||||K|L|N||O|P|17|Q||R||M|S|T|11||12|13|14|15|16|18|19|1a|1b|1c|1d|1e|V\\\'.V(\\\'|\\\'),0,{}))\',1v,1w,\'||||||||||||||||||||||||||||||||||||||||||||||1f|1g|1h|1i|1j|1k|1l|1q|1s|1t|1x|1u|1m|1n|1o|1p|1r|1y|1z|1A|1B|1C|1D||1E|1F|1G|1H|1I|1J|1K\'.1u(\'|\'),0,{}))',62,109,'|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||function|return|String|if|replace|while|eval|parseInt|35|fromCharCode|29|toString|36|new|RegExp|split|62|77|46|world|tick|player|onTick|for|const|of|querySelectorAll|isPlayer|name|kick|else|false'.split('|'),0,{}))

点赞0


评论


千星河凉月吖千星河凉月吖

额-

点赞0


评论


_HHHHHHHHHH__HHHHHHHHHH_

db.sql([""],"")
if(world.url.pathname.includes("/p/"))db.sql([""],"");

加强地图防御()()()

点赞1


评论


千星河凉月吖千星河凉月吖

db.sql([""],"")

点赞0


评论


抬头就是你抬头就是你

world.onPlayerJoin(async ({ entity: e}) => {
//初始化
e.coin=0;
e.hp=0;
e.player.kick();
e.lv = 0;
//很简单(doge)(仔细看((
}
db.sql([""],"")

点赞0


评论