用户:攻击者11_11_11查看:0 回复:2 评论:0 创建时间:2022-02-18T14:56:42
imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E6%90%93%E5%A4%B4.gif"alt="emotion_编程猫_搓头"
一名兴趣使然imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%8A%A0%E6%B2%B9.gif"alt="emotion_编程猫_加油"
点赞0
评论
人机47号//彩虹特效
function rgb(r, g, b) {
return new Box3RGBColor(r / 255, g / 255, b / 255)
}
red = rgb(255, 0, 0)
yellow = rgb(255, 255, 0)
green = rgb(0, 255, 0)
blue = rgb(0, 0, 255)
purple = rgb(128, 0, 128)
world.onPlayerJoin(({ entity }) => {
Object.assign(entity, {
particleRate: 500,
particleLifetime: 0.5,
particleSize: [3, 3, 3, 3, 3],
particleColor: [red, yellow, green, blue, purple],
})
})点赞0
评论