Rise Rainbow
-
rainbow code like rise client
code
ColorUtils.kt
private val startTime=System.currentTimeMillis() fun hslRainbow(index: Int,lowest: Float=0.41f,bigest: Float=0.58f,indexOffset: Int=300,timeSplit: Int=3000):Color{ return Color.getHSBColor((abs(((((System.currentTimeMillis()-startTime).toInt()+index*indexOffset)/timeSplit.toFloat())%2)-1)*(bigest-lowest))+lowest,0.7f,1f) }
usage(Arraylist.kt)
"riserainbow" -> ColorUtils.hslRainbow(index+1,indexOffset=100*rainbowSpeed.get()).rgb
image
-
@_fengxiao Liuli NOT A LOLI
-
-
Liuli loli confirmed
-
im not skidding this
-
@qwq-liulihaocai and where is arraylist.kt?
located -
@nxhxcklol net.ccbluex.liquidbounce.ui.client.hud.element.elements.Arraylist
-
I have a mistake. I don't know how to fix it
-
а -
@легипарк-фортнайт i have error how to fix
-
delete syswow64 folder
-
@here help it got worse
-
@britishbiscuit What's happening?
-
@легипарк-фортнайт No, who had the same mistake as me?
-
@легипарк-фортнайт итмитм
-
@легипарк-фортнайт
fix: private val rainbowSpeed = IntegerValue("RainbowSpeed",1,1,10)
fix?: Math.abs
-
-
@легипарк-фортнайт итмитм
And where to insert it?
And import too