Wheel Rush | Platformer Game
@Stage\n\nwhen I receive ['click' v]\nstart sound [Click1 v]\nwait (.1) seconds\nstart sound [Click2 v]\n\nwhen flag clicked\nset [<sound vol v] to [100]\nforever\n    set volume to (<Sound vol) %\nend\n\nwhen I receive ['jump' v]\nplay sound [Jump v] until done\n\nwhen I receive ['dash' v]\nplay sound [Dash v] until done\n\nwhen I receive [@death v]\nplay sound [Game Over v] until done\n\nwhen I receive ['coin' v]\nplay sound [Coin v] until done\n\nwhen I receive ['hover' v]\nplay sound [Hover v] until done\n\nwhen I receive ['load' v]\nplay sound [Load v] until done\n\nwhen I receive [leaderboard v]\n\nwhen I receive [viesti1 v]\n\nwhen [space v] key pressed\nstart sound [Load v]\n\nwhen I receive [viesti1 v]\nstart sound [Load v]\nwait (.1) seconds\nstart sound [Load v]\n\n@Player\n\nwhen I receive [u-n v]\nshow\ngo to x: (0) y: (150)\n\nwhen I receive [move v]\nforever\n    change [playery v] by (-1)\n    change y by (PlayerY)\n    if <touching (wheel v)?> then\n        change y by ((PlayerY) * (-1))\n        set [playery v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <(-Up?) = [y]>> and <touching (wheel v)?>> then\n        set [playery v] to [12]\n        change [+ total jumps v] by (1)\n        broadcast ('Jump' v)\n    end\n    change y by (1)\n    if <touching (wheel v)?> then\n        change y by (1)\n        if <touching (wheel v)?> then\n            change y by (1)\n            if <touching (wheel v)?> then\n                change y by (1)\n                if <touching (wheel v)?> then\n                    change y by (1)\n                    if <touching (wheel v)?> then\n                        change y by (1)\n                        if <touching (wheel v)?> then\n                            change y by (-5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    set [-up? v] to [n]\nend\n\nwhen I receive [@death v]\nstop [other scripts in sprite v]\nset [brightness v] effect to (80)\nrepeat (20)\n    change [ghost v] effect by (5)\n    change [brightness v] effect by (-4)\nend\nhide\nclear graphic effects\nset [player lifes v] to [1]\n\nwhen I receive [move v]\nforever\n    wait until <<not <key (down arrow v) pressed?>> and <(-Down?) = [n]>>\n    wait until <<key (down arrow v) pressed?> or <(-Down?) = [y]>>\n    set y to (69)\n    set [playery v] to [0]\n    set [brightness v] effect to (80)\n    broadcast ('Dash' v)\n    repeat (10)\n        change [brightness v] effect by (-8)\n    end\n    clear graphic effects\n    set [-down? v] to [n]\nend\n\nwhen I receive [move v]\nforever\n    turn right (3) degrees\nend\n\nwhen I receive [start v]\nif <(size) > [250]> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nelse\n    if <(costume [name v]) = [lifebuoy]> then\n        change [player lifes v] by (1)\n    end\n    set [-up? v] to [n]\n    set [-down? v] to [n]\n    hide\n    wait (1.5) seconds\n    go to x: (0) y: (140)\n    clear graphic effects\n    set [brightness v] effect to (100)\n    broadcast ('Dash' v)\n    show\n    repeat (10)\n        change [brightness v] effect by (-10)\n    end\n    if <(costume [name v]) = [bomb]> then\n        forever\n            wait (5) seconds\n        end\n    end\nend\n\nwhen I start as a clone\nif <(Player size) = [280]> then\n    go to x: (110) y: (-50)\nend\nset size to (Player size) %\nwait (.5) seconds\nclear graphic effects\ngo to [front v] layer\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nforever\n    wait until <touching (mouse-pointer v)?>\n    broadcast ('Hover' v)\n    repeat until <not <touching (mouse-pointer v)?>>\n        change size by (([cos v] of ((size) - ((Player size) - (80))) ) * (10))\n        if <<(size) < [80]> and <not <(size) = [65]>>> then\n            say [Click to select me!] for (.01) seconds\n        end\n    end\n    repeat until <(round (size)) = (Player size)>\n        change size by (([cos v] of ((size) - ((Player size) - (450))) ) * (10))\n    end\n    set size to (Player size) %\nend\n\nwhen I start as a clone\nforever\n    turn right (1) degrees\nend\n\nwhen this sprite clicked\nif <(size) > [250]> then\n    broadcast ('Click' v)\n    broadcast (Skins v) and wait\nelse\n    if <not <(size) = [65]>> then\n        broadcast (Skin reset v) and wait\n        broadcast (Delete text v)\n        if <(join (x position) (y position)) = (join (Come X) (Come Y))> then\n            set [come x v] to []\n            set [come y v] to []\n            set [rarity v] to [Standard]\n            broadcast (Change slide v)\n        else\n            set [come x v] to (x position)\n            set [come y v] to (y position)\n            set [r3 v] to (costume [number v])\n            set [skin name v] to (costume [name v])\n            broadcast (Skin write v)\n            repeat (35)\n                change x by (([cos v] of (((x position) / (5)) + (115)) ) * (50))\n                change y by (([cos v] of ((y position) + (35)) ) * (10))\n                change size by (([cos v] of ((size) - (100)) ) * (10))\n            end\n            repeat until <[-50] < (x position)>\n                set size to (120) %\n            end\n        end\n    end\nend\n\nwhen I receive [settings v]\nif <(size) > [250]> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I receive [skin come v]\nif <(size) = [65]> then\n    go to (buttons v)\n    switch costume to (R3)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [skins v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [skin reset v]\nif <(x position) < [-50]> then\n    set [ghost v] effect to (100)\n    go to x: (Come X) y: (Come Y)\n    set size to (50) %\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    set size to (50) %\nend\n\nwhen I receive [menu v]\ndelete this clone\n\nwhen I receive [skin write v]\nif <(size) = [65]> then\n    switch costume to (Skin name)\nend\n\nwhen I receive [stats v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [shop v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [leaderboard v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nset [r1 v] to [1]\nrepeat (19)\n    change [r1 v] by (1)\n    add (R1) to [collected skins v]\nend\n\nwhen I receive [end intro v]\nswitch costume to (basic<wheel v)\nset size to (65) %\nset [playery v] to [0]\nhide variable [level v]\ngo to x: (0) y: (140)\nset rotation style [all around v]\ndelete all of [collected skins v]\nadd [1] to [collected skins v]\n\nwhen flag clicked\nset [player lifes v] to [1]\nhide\n\nwhen I receive [move v]\nforever\n    if <touching (spike v)?> then\n        change [player lifes v] by (-1)\n        if <(Player lifes) = [0]> then\n            broadcast (@Death v) and wait\n            stop [this script v]\n        end\n        set [brightness v] effect to (-100)\n        repeat (10)\n            change [brightness v] effect by (10)\n        end\n        wait (3) seconds\n    end\nend\n\nwhen I receive [new skin v]\npoint in direction (90)\nset [r4 v] to (pick random (1) to (10))\nif <(R4) = [10]> then\n    switch costume to (pick random (17) to (20))\n    set [rarity v] to [epic]\nelse\n    if <(R4) > [6]> then\n        switch costume to (pick random (9) to (16))\n        set [rarity v] to [rare]\n    else\n        switch costume to (pick random (1) to (8))\n        set [rarity v] to [common]\n    end\nend\ngo to x: (0) y: (-50)\nclear graphic effects\nset [brightness v] effect to (-100)\ngo to [front v] layer\nshow\nrepeat (30)\n    change y by (([cos v] of ((y position) + (20)) ) * (10))\nend\nwait (1) seconds\nif <[collected skins v] contains (costume [number v])?> then\n    start sound [Game Over v]\nelse\n    add (costume [number v]) to [collected skins v]\n    broadcast (Shine v)\n    start sound [New Skin v]\nend\nset [brightness v] effect to (100)\nrepeat (25)\n    change [brightness v] effect by (-4)\nend\nwait until <not <mouse down?>>\nwait until <mouse down?>\nbroadcast (Hide blank v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nclear graphic effects\n\nwhen I receive [start v]\nif <(costume [name v]) = [bomb]> then\n    wait (1) seconds\n    repeat until <(Player lifes) = [0]>\n        repeat (8)\n            wait (.5) seconds\n            set [brightness v] effect to (50)\n            start sound [Bomb tick v]\n            repeat (10)\n                change [brightness v] effect by (-5)\n            end\n            set [brightness v] effect to (0)\n        end\n        if <(Player lifes) > [0]> then\n            start sound [Explode v]\n            broadcast (@Explode v)\n            set [brightness v] effect to (100)\n            repeat (20)\n                change [brightness v] effect by (-5)\n            end\n        end\n    end\nend\n\n@Spike\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nwait (1) seconds\nrepeat until <(direction) < [-140]>\n    turn left (Rotate Speed) degrees\nend\nrepeat (20)\n    change y by (([cos v] of ((y position) + (50)) ) * (10))\n    change x by (([cos v] of ((y position) + (50)) ) * (10))\nend\ndelete this clone\n\nwhen I start as a clone\nwait (.5) seconds\nswitch costume to (pick random (1) to (4))\nshow\nrepeat (30)\n    change y by (([cos v] of ((y position) + (140)) ) * (10))\nend\nwait until <touching (shine v)?>\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [@death v]\nstop [other scripts in sprite v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [start v]\nclear graphic effects\nset [wait time v] to [15]\ngo to x: (0) y: (0)\npoint in direction (150)\nforever\n    wait ((pick random (Wait time) to (20)) / (10)) seconds\n    create clone of (_myself_ v)\nend\n\n@Coins\n\nwhen I start as a clone\nwait (.5) seconds\nclear graphic effects\nshow\nrepeat (30)\n    change y by (([cos v] of ((y position) + (100)) ) * (10))\nend\n\nwhen I start as a clone\nrepeat until <(direction) < [-140]>\n    turn left (1.5) degrees\nend\nrepeat (20)\n    change y by (([cos v] of ((y position) + (50)) ) * (10))\n    change x by (([cos v] of ((y position) + (50)) ) * (10))\nend\ndelete this clone\n\nwhen I receive [@death v]\nstop [other scripts in sprite v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [start v]\ngo to x: (0) y: (0)\npoint in direction (180)\nforever\n    if <([costume # v] of [player v]) = [18]> then\n        wait ((pick random (15) to (30)) / (10)) seconds\n    else\n        wait ((pick random (30) to (60)) / (10)) seconds\n    end\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait (1) seconds\ngo to [front v] layer\nforever\n    move (([sin v] of (*) ) / (4)) steps\n    if <touching (player v)?> then\n        change [coins v] by (1)\n        set [scorex v] to [-150]\n        broadcast ('Coin' v)\n        broadcast (Score v)\n        set [brightness v] effect to (100)\n        repeat (10)\n            change [ghost v] effect by (10)\n            change [brightness v] effect by (-10)\n        end\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset [coins v] to [0]\nhide\n\nwhen I start as a clone\nforever\n    wait (.2) seconds\n    switch costume to (asuste2 v)\n    wait (.2) seconds\n    switch costume to (asuste1 v)\nend\n\n@Wheel\n\nwhen flag clicked\nhide\n\nwhen I receive [@death v]\nrepeat (50)\n    change y by (([cos v] of ((y position) + (139)) ) * (-10))\n    change size by (([cos v] of ((size) + (70)) ) * (10))\n    change [ghost v] effect by (2)\nend\nchange [+ total deaths v] by (1)\nchange [+ total score v] by (Your Score)\nhide\nclear graphic effects\nif <(length of (☁ HScore1)) > [4]> then\n    set [☁ hscore1 v] to [0]\nend\nif <(length of (☁ HScore2)) > [4]> then\n    set [☁ hscore2 v] to [0]\nend\nif <(length of (☁ HScore3)) > [4]> then\n    set [☁ hscore3 v] to [0]\nend\nif <(length of (☁ HScore4)) > [4]> then\n    set [☁ hscore4 v] to [0]\nend\nif <(length of (☁ HScore5)) > [4]> then\n    set [☁ hscore5 v] to [0]\nend\nif <(Your Score) > (+ best score this time)> then\n    set [+ best score this time v] to (Your Score)\n    broadcast (New Best v)\nend\nif <(Your Score) > (☁ HScore1)> then\n    set [r4 v] to [1]\n    set [☁ hscore5 v] to (☁ HScore4)\n    set [☁ hscore4 v] to (☁ HScore3)\n    set [☁ hscore3 v] to (☁ HScore2)\n    set [☁ hscore2 v] to (☁ HScore1)\n    set [☁ hscore1 v] to (Your Score)\n    broadcast (--Highscore v)\nelse\n    if <(Your Score) > (☁ HScore2)> then\n        set [r4 v] to [2]\n        set [☁ hscore5 v] to (☁ HScore4)\n        set [☁ hscore4 v] to (☁ HScore3)\n        set [☁ hscore3 v] to (☁ HScore2)\n        set [☁ hscore2 v] to (Your Score)\n        broadcast (--Highscore v)\n    else\n        if <(Your Score) > (☁ HScore3)> then\n            set [r4 v] to [3]\n            set [☁ hscore5 v] to (☁ HScore4)\n            set [☁ hscore4 v] to (☁ HScore3)\n            set [☁ hscore3 v] to (Your Score)\n            broadcast (--Highscore v)\n        else\n            if <(Your Score) > (☁ HScore4)> then\n                set [r4 v] to [4]\n                set [☁ hscore5 v] to (☁ HScore4)\n                set [☁ hscore4 v] to (Your Score)\n                broadcast (--Highscore v)\n            else\n                if <(Your Score) > (☁ HScore5)> then\n                    set [r4 v] to [5]\n                    set [☁ hscore5 v] to (Your Score)\n                    broadcast (--Highscore v)\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\nclear graphic effects\nset [rotate speed v] to [2]\nset size to (20) %\nset y to (-194)\nshow\nrepeat (40)\n    change y by (([cos v] of ((y position) + (139)) ) * (10))\n    change size by (([cos v] of ((size) - (10)) ) * (10))\nend\nset size to (100) %\nshow\ngo to x: (0) y: (-50)\nbroadcast (Move v)\n\nwhen I receive [start v]\nforever\n    turn left (Rotate Speed) degrees\n    set [rotate speed v] to ((Rotate Speed) * (1.0002))\n    set [wait time v] to ((Wait time) * (0.9998))\nend\n\nset [☁ hscore1 v] to [0]\n\n@Thumbnail\n\nwhen I receive [start v]\nset [your score v] to [0]\nif <<(<Song) = [Crossword Puzzle]> and <not <(<Music vol) = [0]>>> then\n    repeat (10)\n        change [<music vol v] by (-10)\n    end\n    stop all sounds\n    set [<song v] to [Going on]\n    set [<music vol v] to [100]\nend\n\nwhen flag clicked\nset [<song v] to [Crossword Puzzle]\nforever\n    play sound (<Song) until done\nend\n\nwhen I receive [menu v]\nif <<not <(<Song) = [Crossword Puzzle]>> and <not <(<Music vol) = [0]>>> then\n    repeat (10)\n        change [<music vol v] by (-10)\n    end\n    stop all sounds\n    set [<song v] to [Crossword Puzzle]\n    repeat (10)\n        change [<music vol v] by (10)\n    end\nend\n\nwhen I receive [end intro v]\nbroadcast (Menu v)\nset [<song v] to [Crossword Puzzle]\nset [<music vol v] to [100]\nset [+ best score this time v] to [0]\nset [+ money spent v] to [0]\nset [+ total jumps v] to [0]\nset [+ total deaths v] to [0]\nset [+ total score v] to [0]\ndelete all of [settings v]\nrepeat (2)\n    add [L] to [settings v]\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    set volume to (<Music vol) %\nend\n\nwhen I receive [shop n v]\nstart sound [Load v]\nwait (.1) seconds\nstart sound [Load v]\n\nset [coins v] to [25]\n\nwhen I receive [shop y v]\nif <not <(<Music vol) = [0]>> then\n    repeat (20)\n        change [<music vol v] by (-4)\n    end\nend\n\nwhen I receive [hide blank v]\nif <not <(<Music vol) = [0]>> then\n    repeat (10)\n        change [<music vol v] by (8)\n    end\nend\n\nwhen I receive [leaderboard v]\nif <<not <(<Song) = [Crossword Puzzle]>> and <not <(<Music vol) = [0]>>> then\n    repeat (10)\n        change [<music vol v] by (-10)\n    end\n    stop all sounds\n    set [<song v] to [Crossword Puzzle]\n    repeat (10)\n        change [<music vol v] by (10)\n    end\nend\n\n@Intro\n\nwhen flag clicked\nset [<music vol v] to [100]\nshow\nswitch costume to (asuste1 v)\ngo to x: (0) y: (0)\ncreate clone of (_myself_ v)\nwait (3) seconds\nrepeat (20)\n    change y by (([cos v] of (((y position) / (2)) - (100)) ) * (50))\n    change [ghost v] effect by (5)\nend\nhide\nbroadcast (End intro v)\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nswitch costume to (asuste2 v)\ngo to [front v] layer\nset size to (5) %\nwait (.5) seconds\nset [ghost v] effect to (0)\nrepeat (11)\n    change size by (([cos v] of ((size) - (40)) ) * (20))\nend\nrepeat (6)\n    change size by (([cos v] of ((size) - (40)) ) * (-25))\nend\nrepeat (12)\n    change size by (([cos v] of ((size) - (40)) ) * (20))\nend\nwait (1) seconds\nrepeat (20)\n    change size by (([cos v] of ((size) + (80)) ) * (10))\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\nwhen I receive [shop y v]\ngo to x: (0) y: (0)\nset [ghost v] effect to (30)\ngo to [front v] layer\nshow\n\nwhen I receive [hide blank v]\nhide\n\n@Slide\n\nwhen flag clicked\nhide\nswitch costume to (standard v)\n\nwhen I receive [settings v]\nSlide in\n\nwhen I receive [menu v]\nrepeat (40)\n    change [ghost v] effect by (5)\n    change x by (([cos v] of (((x position) / (5)) + (90)) ) * (50))\nend\nhide\nclear graphic effects\n\nwhen I receive [skins v]\nSlide in\n\ndefine Slide in\nstop [other scripts in sprite v]\nswitch costume to (standard v)\ngo to x: (500) y: (0)\nset [ghost v] effect to (100)\nshow\nrepeat (40)\n    change [ghost v] effect by (-5)\n    change x by (([cos v] of (((x position) / (5)) + (90)) ) * (50))\nend\n\nwhen I receive [change slide v]\nclear graphic effects\nset [brightness v] effect to (20)\nswitch costume to (Rarity)\nrepeat (10)\n    change [brightness v] effect by (-2)\nend\nclear graphic effects\n\nwhen I receive [shop v]\nSlide in\n\nwhen I receive [stats v]\nSlide in\n\nwhen I receive [leaderboard v]\nSlide in\n\n@Effects\n\nwhen flag clicked\nswitch costume to (asuste9 v)\nhide\ngo to x: (-205) y: (-180)\nrepeat (10)\n    create clone of (_myself_ v)\n    change x by (41)\nend\ncreate clone of (_myself_ v)\nforever\n    wait (1) seconds\n    broadcast (Effect v)\nend\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nset [ghost v] effect to (80)\n\nwhen I receive [effect v]\nswitch costume to (pick random (3) to (10))\nrepeat until <(costume [number v]) = [1]>\n    switch costume to ((costume [number v]) - (1))\n    wait (.005) seconds\nend\n\n@Buttons\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nclear graphic effects\nif < (costume [name v]) contains [Skins]?> then\n    broadcast ('Load' v)\nend\nif < (costume [name v]) contains [-]?> then\n    repeat until <([abs v] of (round (x position)) ) < [141]>\n        change x by (([cos v] of (([abs v] of (x position) ) + (310)) ) * (-10))\n    end\nelse\n    if <(costume [name v]) = [YS]> then\n        clear graphic effects\n        go to x: (50) y: (-175)\n        point in direction (-30)\n        repeat (40)\n            turn right (([cos v] of ((direction) + (20)) ) * (10)) degrees\n        end\n    else\n        if <(costume [name v]) = [Box1]> then\n            go to x: (500) y: (-50)\n            repeat (30)\n                change x by (([cos v] of (((x position) / (5)) + (90)) ) * (50))\n            end\n        else\n            set [brightness v] effect to (50)\n            repeat (10)\n                change [brightness v] effect by (-5)\n            end\n        end\n    end\nend\nforever\n    if <not < (costume [name v]) contains [Skins]?>> then\n        wait until <touching (mouse-pointer v)?>\n        broadcast ('Hover' v)\n        if < (costume [name v]) contains [+1]?> then\n            next costume\n        end\n        repeat until <not <touching (mouse-pointer v)?>>\n            change size by (([cos v] of ((size) - (20)) ) * (10))\n        end\n        if < (costume [name v]) contains [+2]?> then\n            switch costume to ((costume [number v]) - (1))\n        end\n        repeat until <(round (size)) = [100]>\n            change size by (([cos v] of ((size) - (10)) ) * (10))\n        end\n        set size to (100) %\n    end\nend\n\nwhen I receive [start v]\nclear graphic effects\nif <(costume [number v]) = [1]> then\n    wait (1) seconds\n    go to x: (0) y: (150)\n    switch costume to (p v)\n    create clone of (_myself_ v)\n    switch costume to (c v)\n    create clone of (_myself_ v)\n    if <(item (2) of [settings v]) = [L]> then\n        go to x: (-190) y: (-130)\n    else\n        go to x: (190) y: (-130)\n    end\n    switch costume to (down v)\n    create clone of (_myself_ v)\n    if <(item (1) of [settings v]) = [L]> then\n        go to x: (-190) y: (-130)\n        if <not <[settings v] contains [R]?>> then\n            change y by (70)\n        end\n    else\n        go to x: (190) y: (-130)\n        if <not <[settings v] contains [L]?>> then\n            change y by (70)\n        end\n    end\n    switch costume to (up v)\n    create clone of (_myself_ v)\n    switch costume to (generator v)\nend\nif << (costume [name v]) contains [-]?> or <(costume [name v]) = [Title]>> then\n    repeat (30)\n        change x by (([cos v] of ((x position) + (350)) ) * (10))\n        change [ghost v] effect by (5)\n    end\n    clear graphic effects\n    delete this clone\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen this sprite clicked\nbroadcast ('Click' v)\nif <(costume [name v]) = [Up]> then\n    set [-up? v] to [y]\nend\nif <(costume [name v]) = [Down]> then\n    set [-down? v] to [y]\nend\nif <<(costume [name v]) = [Play-]> or <(costume [name v]) = [Retry]>> then\n    broadcast (Start v) and wait\nend\nif <<(costume [name v]) = [Menu]> or <(costume [name v]) = [Back]>> then\n    broadcast (Menu v) and wait\nend\nif <(costume [name v]) = [Settings-]> then\n    broadcast (Settings v) and wait\nend\nif <(costume [name v]) = [ON]> then\n    switch costume to (off v)\n    if <(y position) > [100]> then\n        set [<music vol v] to [0]\n    else\n        set [<sound vol v] to [0]\n    end\nelse\n    if <(costume [name v]) = [OFF]> then\n        switch costume to (on v)\n        if <(y position) > [100]> then\n            set [<music vol v] to [100]\n        else\n            set [<sound vol v] to [100]\n        end\n    end\nend\nif <<(costume [name v]) = [L]> or <(costume [name v]) = [R]>> then\n    if <(costume [name v]) = [L]> then\n        switch costume to (r v)\n    else\n        switch costume to (l v)\n    end\n    if <(y position) > [-100]> then\n        replace item (1) of [settings v] with (costume [name v])\n    else\n        replace item (2) of [settings v] with (costume [name v])\n    end\nend\nif <(costume [name v]) = [Shop]> then\n    broadcast (Shop v) and wait\nend\nif < (costume [name v]) contains [Leaderboard]?> then\n    broadcast (Leaderboard v) and wait\nend\nif <(costume [name v]) = [Stats]> then\n    broadcast (Stats v) and wait\nend\nif <(Price) = []> then\n    if <(costume [name v]) = [Box+2]> then\n        set [price v] to [25]\n        if <(Coins) < (Price)> then\n            broadcast (Shop N v) and wait\n        else\n            change [+ money spent v] by (Price)\n            change [coins v] by ((Price) * (-1))\n            broadcast ('Coin' v)\n            broadcast (Shop Y v) and wait\n        end\n    end\n    if <(costume [name v]) = [Life+2]> then\n        set [price v] to [5]\n        if <(Coins) < (Price)> then\n            broadcast (Shop N v) and wait\n        else\n            change [+ money spent v] by (Price)\n            change [coins v] by ((Price) * (-1))\n            broadcast ('Coin' v)\n            broadcast (Shop Y v) and wait\n        end\n    end\n    set [price v] to []\nend\nif <(costume [name v]) = [Box1]> then\n    start sound [Open box v]\n    repeat (30)\n        change [fisheye v] effect by (1)\n        set x to (pick random (-10) to (10))\n    end\n    clear graphic effects\n    switch costume to (box2 v)\n    set [brightness v] effect to (50)\n    broadcast (New skin v)\n    repeat (10)\n        change [brightness v] effect by (-5)\n    end\n    clear graphic effects\nend\n\nwhen I receive [@death v]\nif <<(costume [name v]) = [Up]> or <(costume [name v]) = [Down]>> then\n    repeat (30)\n        change x by (([cos v] of ((x position) + (350)) ) * (10))\n        change [ghost v] effect by (5)\n    end\n    clear graphic effects\n    delete this clone\nelse\n    if <(costume [number v]) = [1]> then\n        wait (.5) seconds\n        switch costume to (ys v)\n        create clone of (_myself_ v)\n        go to x: (100) y: (-125)\n        switch costume to (menu v)\n        create clone of (_myself_ v)\n        go to x: (180) y: (-125)\n        switch costume to (retry v)\n        create clone of (_myself_ v)\n        go to x: (-85) y: (-125)\n        switch costume to (leaderboard2 v)\n        create clone of (_myself_ v)\n        switch costume to (generator v)\n    else\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        delete this clone\n    end\nend\n\nwhen flag clicked\nhide\nset [* v] to [0]\nforever\n    change [* v] by (5)\nend\n\nwhen I start as a clone\nif <<(costume [name v]) = [YS]> or <(costume [name v]) = [Title]>> then\n    forever\n        turn right (([sin v] of (*) ) / (5)) degrees\n    end\nend\nif << (costume [name v]) contains [-]?> or <(costume [name v]) = [Life1]>> then\n    forever\n        move ([sin v] of (*) ) steps\n    end\nend\n\nwhen I receive [menu v]\nbroadcast (Delete clones v) and wait\ngo to x: (-260) y: (-130)\nswitch costume to (settings- v)\ncreate clone of (_myself_ v)\ngo to x: (-260) y: (-50)\nswitch costume to (play- v)\ncreate clone of (_myself_ v)\ngo to x: (-120) y: (90)\nswitch costume to (title v)\ncreate clone of (_myself_ v)\ngo to x: (40) y: (80)\nswitch costume to (stats v)\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (70)\n    next costume\nend\ngo to x: (0) y: (150)\nswitch costume to (c v)\npoint in direction (-90)\ncreate clone of (_myself_ v)\nswitch costume to (generator v)\npoint in direction (90)\n\nwhen I receive [delete clones v]\ndelete this clone\n\nwhen I receive [menu v]\nset [* v] to [0]\nset [player size v] to [280]\nwait (.1) seconds\ncreate clone of (player v)\n\nwhen I receive [settings v]\nbroadcast (Delete clones v) and wait\nwait (3) seconds\ngo to x: (160) y: (120)\nif <(<Music vol) = [100]> then\n    switch costume to (on v)\nelse\n    switch costume to (off v)\nend\ncreate clone of (_myself_ v)\nchange y by (-60)\nif <(<Sound vol) = [100]> then\n    switch costume to (on v)\nelse\n    switch costume to (off v)\nend\ncreate clone of (_myself_ v)\nchange y by (-70)\nswitch costume to (item (1) of [settings v])\ncreate clone of (_myself_ v)\nchange y by (-90)\nswitch costume to (item (2) of [settings v])\ncreate clone of (_myself_ v)\ngo to x: (210) y: (-150)\nswitch costume to (back v)\ncreate clone of (_myself_ v)\nswitch costume to (generator v)\n\nwhen I receive [skins v]\nbroadcast (Delete clones v) and wait\nset [r3 v] to [0]\nwait (1) seconds\ngo to x: (-150) y: (120)\nswitch costume to (text1 v)\ncreate clone of (_myself_ v)\ngo to x: (-5) y: (120)\nset [player size v] to [50]\nrepeat (5)\n    repeat (4)\n        change [r3 v] by (1)\n        if <[collected skins v] contains (R3)?> then\n            switch costume to (skins v)\n            broadcast (Skin come v) and wait\n        else\n            switch costume to (skins2 v)\n        end\n        create clone of (_myself_ v)\n        change x by (60)\n    end\n    set x to (-5)\n    change y by (-60)\nend\ngo to x: (-210) y: (-150)\nswitch costume to (back v)\ncreate clone of (_myself_ v)\nswitch costume to (generator v)\n\nwhen I receive [stats v]\nbroadcast (Delete clones v) and wait\nwait (1) seconds\ngo to x: (-120) y: (120)\nswitch costume to (text2 v)\ncreate clone of (_myself_ v)\ngo to x: (-210) y: (-150)\nswitch costume to (back v)\ncreate clone of (_myself_ v)\nswitch costume to (generator v)\n\nwhen I receive [shop v]\nbroadcast (Delete clones v) and wait\nwait (1) seconds\ngo to x: (180) y: (150)\nswitch costume to (blank v)\ncreate clone of (_myself_ v)\ngo to x: (-150) y: (120)\nswitch costume to (text3 v)\ncreate clone of (_myself_ v)\ngo to x: (-100) y: (-20)\nswitch costume to (box+1 v)\nrepeat (2)\n    create clone of (_myself_ v)\n    change x by (200)\n    next costume\n    next costume\nend\ngo to x: (-210) y: (-150)\nswitch costume to (back v)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (150)\nswitch costume to (c v)\npoint in direction (-90)\ncreate clone of (_myself_ v)\nswitch costume to (generator v)\npoint in direction (90)\nset [price v] to []\n\nwhen I receive [leaderboard v]\nbroadcast (Delete clones v) and wait\nwait (1) seconds\ngo to x: (-90) y: (120)\nswitch costume to (text4 v)\ncreate clone of (_myself_ v)\ngo to x: (-210) y: (-150)\nswitch costume to (back v)\ncreate clone of (_myself_ v)\nswitch costume to (generator v)\n\nwhen I receive [shop y v]\nif <(costume [number v]) = [1]> then\n    if <(Price) = [5]> then\n        set rotation style [don't rotate v]\n        point in direction (0)\n        switch costume to (life1 v)\n        go to x: (0) y: (50)\n        create clone of (_myself_ v)\n        set rotation style [all around v]\n        change [player lifes v] by (1)\n        point in direction (90)\n        wait (3) seconds\n        broadcast (Hide blank v)\n    else\n        switch costume to (box1 v)\n        create clone of (_myself_ v)\n    end\n    switch costume to (generator v)\nend\n\nwhen I receive [hide blank v]\nif <<(costume [name v]) = [Life1]> or <(costume [name v]) = [Box2]>> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\ngo [backward v] (1) layers\n\nwhen I receive [hide blank v]\nif < (costume [name v]) contains [+]?> then\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen I receive [shop y v]\nif < (costume [name v]) contains [+]?> then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nif <(username) = [Draiveri77-11]> then\nelse\n    say [Under work right now! Please be patient!] for (2) seconds\nend\n\n@Numbers\n\nwhen I receive [start v]\nset [r2 v] to [3]\nwait (.1) seconds\nset size to (50) %\ngo to x: (-212) y: (150)\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (31)\n    change [r2 v] by (-1)\nend\ngo to x: (119) y: (150)\nset [r2 v] to []\nrepeat (4)\n    create clone of (_myself_ v)\n    change x by (31)\nend\nwait (2) seconds\nforever\n    wait (.3) seconds\n    change [your score v] by (1)\n    set [scorex v] to [212]\n    broadcast (Score v)\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(R2) = []> then\n    switch costume to (0 v)\nelse\n    switch costume to (0 v)\n    switch costume to (letter ((length of (Coins)) - (R2)) of (Coins))\nend\nset [ghost v] effect to (100)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (1) seconds\ngo to [front v] layer\n\nwhen I receive [score v]\nif <(x position) = (ScoreX)> then\n    next costume\n    if <(costume [name v]) = [0]> then\n        set [scorex v] to ((x position) - (31))\n        broadcast (Score v)\n    end\n    Score effect\nend\n\ndefine Score effect\nset size to (60) %\nrepeat (20)\n    change size by (([cos v] of ((size) + (40)) ) * (10))\nend\nset size to (50) %\n\nwhen I receive [@death v]\nstop [other scripts in sprite v]\nrepeat (20)\n    change size by (([cos v] of ((size) + (40)) ) * (10))\nend\nset size to (50) %\nif <(x position) < [0]> then\n    repeat (30)\n        change x by (([cos v] of ((x position) + (350)) ) * (10))\n        change [ghost v] effect by (5)\n    end\n    clear graphic effects\n    delete this clone\nend\n\nwhen I receive [start v]\ndelete this clone\n\nwhen I receive [menu v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nclear graphic effects\ndelete this clone\n\nwhen I receive [menu v]\nclear graphic effects\nset [r2 v] to [3]\nwait (.5) seconds\nset size to (50) %\ngo to x: (150) y: (150)\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (31)\n    change [r2 v] by (-1)\nend\n\nwhen I receive [settings v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nclear graphic effects\ndelete this clone\n\nwhen I receive [delete clones v]\ndelete this clone\n\nwhen I receive [shop v]\nclear graphic effects\nset [r2 v] to [3]\nwait (.5) seconds\nset size to (50) %\ngo to x: (150) y: (150)\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (31)\n    change [r2 v] by (-1)\nend\n\nwhen I receive [shop n v]\nset [brightness v] effect to (-20)\nset [color v] effect to (-10)\nrepeat (10)\n    change [brightness v] effect by (2)\n    change [color v] effect by (1)\nend\nclear graphic effects\n\nwhen I receive [shop y v]\nclear graphic effects\nset [r2 v] to [3]\nwait (.1) seconds\nset size to (50) %\ngo to x: (150) y: (150)\nrepeat (3)\n    create clone of (_myself_ v)\n    change x by (31)\n    change [r2 v] by (-1)\nend\n\nwhen I receive [shop y v]\ndelete this clone\n\n@Text engine\n\ndefine Write from: (x) (y) text size: (size)\nhide\ngo to x: (x) y: (y)\nset [text size v] to (size)\nset size to (Text size) %\nset [r1 v] to [0]\nrepeat (length of (Text))\n    change [r1 v] by (1)\n    if <(letter (R1) of (Text)) = [<]> then\n        change y by ((Text size) / (-2))\n        set x to (x)\n    else\n        create clone of (_myself_ v)\n        change x by ((Text size) / (3.2))\n    end\nend\n\nwhen I start as a clone\nswitch costume to (letter (R1) of (Text))\nset [ghost v] effect to (100)\ngo to [front v] layer\nshow\n\nwhen I receive [menu v]\nbroadcast (Delete text v) and wait\nstop [other scripts in sprite v]\nset [text v] to [by draiveri77-11]\nset [brightness v] effect to (100)\nWrite from: [10] [-165] text size: [45]\nbroadcast (Show v)\n\nwhen I receive [delete text v]\ndelete this clone\n\nwhen I receive [start v]\nbroadcast (Delete text v) and wait\nstop [other scripts in sprite v]\n\nwhen I receive [settings v]\nbroadcast (Delete text v) and wait\nstop [other scripts in sprite v]\nwait (1) seconds\nset [brightness v] effect to (100)\nset [text v] to [music<<sounds<<up button<position<<down button<position]\nWrite from: [-180] [120] text size: [60]\nbroadcast (Show v)\n\nwhen I receive [skins v]\nbroadcast (Delete text v) and wait\nstop [other scripts in sprite v]\n\nwhen I receive [skin write v]\nwait (.1) seconds\nset [text v] to (Skin name)\nWrite from: [-190] [-10] text size: [60]\nif <([costume # v] of [player v]) > [16]> then\n    set [rarity v] to [Epic]\n    if <([costume # v] of [player v]) = [17]> then\n        set [text v] to [explodes<once in<a while]\n    else\n        if <([costume # v] of [player v]) = [18]> then\n            set [text v] to [2x more<coins]\n        else\n            if <([costume # v] of [player v]) = [19]> then\n                set [text v] to [1 extra life]\n            else\n                set [text v] to [smaller than<standard]\n            end\n        end\n    end\nelse\n    if <([costume # v] of [player v]) > [8]> then\n        set [rarity v] to [Rare]\n    else\n        set [rarity v] to [Common]\n    end\n    set [text v] to [no abilities]\nend\nbroadcast (Change slide v)\nchange y by (-50)\nWrite from: [-190] (y position) text size: [40]\nbroadcast (Show v)\n\nwhen I receive [stats v]\nbroadcast (Delete text v) and wait\nstop [other scripts in sprite v]\nwait (.5) seconds\nset [brightness v] effect to (100)\nset [text v] to (join [best score this time:   ] (join (+ best score this time) (join [<<total jumps:   ] (join (+ total jumps) (join [<<money spent:   ] (join (+ money spent) (join [<<total deaths:   ] (join (+ total deaths) (join [<<average score:   ] (round ((+ total score) / (+ total deaths))))))))))))\nWrite from: [-180] [60] text size: [40]\nbroadcast (Show v)\n\nwhen I receive [leaderboard v]\nbroadcast (Delete text v) and wait\nstop [other scripts in sprite v]\nwait (.5) seconds\nbroadcast (--Calculate v) and wait\nset [brightness v] effect to (100)\nWrite from: [-180] [60] text size: [40]\nbroadcast (Show v)\n\nwhen I receive [shop v]\nbroadcast (Delete text v) and wait\nstop [other scripts in sprite v]\nwait (1) seconds\nset [brightness v] effect to (-100)\nset [text v] to [wheel box<]\nWrite from: [-170] [45] text size: [50]\nset [text v] to [get random wheel!]\nWrite from: (x position) (y position) text size: [30]\nset [text v] to [extra life<]\nWrite from: [25] [45] text size: [50]\nset [text v] to [for next round]\nWrite from: (x position) (y position) text size: [30]\nbroadcast (Show v)\n\nwhen I receive [new best v]\nbroadcast (Delete text v) and wait\nstop [other scripts in sprite v]\nset [text v] to [new best!]\nset [brightness v] effect to (100)\nWrite from: [80] [-50] text size: [50]\nbroadcast (Show v)\n\nwhen I receive [new best v]\nbroadcast (Delete text v) and wait\nstop [other scripts in sprite v]\nset [text v] to [new best!]\nset [brightness v] effect to (100)\nWrite from: [80] [-50] text size: [50]\nbroadcast (Show v)\n\nwhen flag clicked\nswitch costume to (all v)\nset [ghost v] effect to (100)\n\nwhen I receive [shop y v]\nstop [other scripts in sprite v]\nif <(costume [name v]) = [All]> then\n    set [brightness v] effect to (100)\n    if <(Price) = [5]> then\n        set [text v] to [You have got 1 extra life!]\n        Write from: [-210] [-100] text size: [55]\n    else\n        set [text v] to [Click me to open!]\n        Write from: [-135] [-140] text size: [55]\n    end\n    broadcast (Show v)\nelse\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    set [ghost v] effect to (100)\nend\n\nwhen I receive [hide blank v]\nif <(size) = [55]> then\n    delete this clone\nelse\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen I receive [new skin v]\nwait (3) seconds\nif <(costume [name v]) = [All]> then\n    set [brightness v] effect to (100)\n    set [text v] to ([costume name v] of [player v])\n    Write from: [-200] [50] text size: [55]\n    set [text v] to (Rarity)\n    change y by (-50)\n    Write from: [-200] (y position) text size: [55]\n    if <[collected skins v] contains ([costume name v] of [player v])?> then\n        set [text v] to [You already have this!]\n    else\n        set [text v] to [You got a new skin!]\n    end\n    Write from: ((0) - ((length of (Text)) * (8.4))) [-150] text size: [55]\n    broadcast (Show v)\nelse\n    if <(size) = [55]> then\n        delete this clone\n    end\nend\n\nwhen I receive [hide blank v]\nif <(size) = [55]> then\n    delete this clone\nend\n\nwhen I receive [show v]\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@Leaderboard\n\ndelete all of [--code letters v]\nset [r2 v] to [0]\nrepeat (length of [AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890-_])\n    change [r2 v] by (1)\n    add (letter (R2) of [AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890-_]) to [--code letters v]\nend\n\nwhen I receive [--calculate v]\nset [r4 v] to [0]\nset [text v] to []\nrepeat (5)\n    set [--current text v] to []\n    change [r4 v] by (1)\n    set [--current text v] to (join (R4) (join [. ] (join (--Current text) (join (item (R4) of [--top 5 v]) (join [   ] (join ([abs v] of (item (R4) of [--scores v]) ) [<<]))))))\n    set [text v] to (join (Text) (--Current text))\nend\n\nwhen I receive [--highscore v]\ninsert (username) at (R4) of [--top 5 v] \ndelete (6) of [--top 5 v]\nset [r4 v] to [0]\nCalculate\nset [☁ user1 v] to (--Word2)\nCalculate\nset [☁ user2 v] to (--Word2)\nCalculate\nset [☁ user3 v] to (--Word2)\nCalculate\nset [☁ user4 v] to (--Word2)\nCalculate\nset [☁ user5 v] to (--Word2)\ndelete all of [--scores v]\nadd (☁ HScore1) to [--scores v]\nadd (☁ HScore2) to [--scores v]\nadd (☁ HScore3) to [--scores v]\nadd (☁ HScore4) to [--scores v]\nadd (☁ HScore5) to [--scores v]\n\nwhen flag clicked\nif <(length of (☁ HScore1)) > [4]> then\n    set [☁ hscore1 v] to [0]\nend\nif <(length of (☁ HScore2)) > [4]> then\n    set [☁ hscore2 v] to [0]\nend\nif <(length of (☁ HScore3)) > [4]> then\n    set [☁ hscore3 v] to [0]\nend\nif <(length of (☁ HScore4)) > [4]> then\n    set [☁ hscore4 v] to [0]\nend\nif <(length of (☁ HScore5)) > [4]> then\n    set [☁ hscore5 v] to [0]\nend\ndelete all of [--top 5 v]\ndelete all of [--scores v]\nset [--read text v] to (☁ User1)\nCalculate2\nadd (--Word) to [--top 5 v]\nadd (☁ HScore1) to [--scores v]\nset [--read text v] to (☁ User2)\nCalculate2\ninsert (--Word) at ((2) - <(☁ HScore2) > (☁ HScore1)>) of [--top 5 v] \ninsert (☁ HScore2) at ((2) - <(☁ HScore2) > (☁ HScore1)>) of [--scores v] \nset [--read text v] to (☁ User3)\nCalculate2\ninsert (--Word) at ((3) - (<(☁ HScore3) > (☁ HScore2)> + <(☁ HScore3) > (☁ HScore1)>)) of [--top 5 v] \ninsert (☁ HScore3) at ((3) - (<(☁ HScore3) > (☁ HScore2)> + <(☁ HScore3) > (☁ HScore1)>)) of [--scores v] \nset [--read text v] to (☁ User4)\nCalculate2\ninsert (--Word) at ((4) - (<(☁ HScore4) > (☁ HScore3)> + (<(☁ HScore4) > (☁ HScore2)> + <(☁ HScore4) > (☁ HScore1)>))) of [--top 5 v] \ninsert (☁ HScore4) at ((4) - (<(☁ HScore4) > (☁ HScore3)> + (<(☁ HScore4) > (☁ HScore2)> + <(☁ HScore4) > (☁ HScore1)>))) of [--scores v] \nset [--read text v] to (☁ User5)\nCalculate2\ninsert (--Word) at ((5) - (<(☁ HScore5) > (☁ HScore4)> + (<(☁ HScore5) > (☁ HScore3)> + (<(☁ HScore5) > (☁ HScore2)> + <(☁ HScore5) > (☁ HScore1)>)))) of [--top 5 v] \ninsert (☁ HScore5) at ((5) - (<(☁ HScore5) > (☁ HScore4)> + (<(☁ HScore5) > (☁ HScore3)> + (<(☁ HScore5) > (☁ HScore2)> + <(☁ HScore5) > (☁ HScore1)>)))) of [--scores v] \nset [☁ hscore1 v] to (item (1) of [--scores v])\nset [☁ hscore2 v] to (item (2) of [--scores v])\nset [☁ hscore3 v] to (item (3) of [--scores v])\nset [☁ hscore4 v] to (item (4) of [--scores v])\nset [☁ hscore5 v] to (item (5) of [--scores v])\nset [r4 v] to [0]\nCalculate\nset [☁ user1 v] to (--Word2)\nCalculate\nset [☁ user2 v] to (--Word2)\nCalculate\nset [☁ user3 v] to (--Word2)\nCalculate\nset [☁ user4 v] to (--Word2)\nCalculate\nset [☁ user5 v] to (--Word2)\n\nset [--current letter v] to []\nset [r5 v] to [0]\nset [r4 v] to [0]\nset [text v] to []\nrepeat (5)\n    set [--word v] to []\n    set [--current text v] to []\n    change [r4 v] by (1)\n    set [--current letter v] to []\n    repeat until <(--Current letter) = [99]>\n        set [--current letter v] to []\n        change [r5 v] by (1)\n        set [--current letter v] to (join (--Current letter) (letter (R5) of [omena]))\n        change [r5 v] by (1)\n        set [--current letter v] to (join (--Current letter) (letter (R5) of [omena]))\n        if <not <(--Current letter) = [99]>> then\n            set [--word v] to (join (--Word) (item ([abs v] of (--Current letter) ) of [--code letters v]))\n        end\n    end\n    add (--Word) to [--top 5 v]\nend\n\ndefine Calculate\nchange [r4 v] by (1)\nset [r5 v] to [0]\nset [--current letter v] to [0]\nset [--word2 v] to []\nrepeat (length of (item (R4) of [--top 5 v]))\n    change [r5 v] by (1)\n    set [--current letter v] to (item # of (letter (R5) of (item (R4) of [--top 5 v])) in [--code letters v])\n    if <(length of (--Current letter)) = [1]> then\n        set [--current letter v] to (join [0] (--Current letter))\n    end\n    set [--word2 v] to (join (--Word2) (--Current letter))\nend\n\ndefine Calculate2\nset [r5 v] to [0]\nset [--current text v] to []\nset [--current letter v] to []\nset [--word v] to []\nrepeat ((length of (--Read text)) / (2))\n    set [--current letter v] to []\n    change [r5 v] by (1)\n    set [--current letter v] to (join (--Current letter) (letter (R5) of (--Read text)))\n    change [r5 v] by (1)\n    set [--current letter v] to (join (--Current letter) (letter (R5) of (--Read text)))\n    set [--word v] to (join (--Word) (item ([abs v] of (--Current letter) ) of [--code letters v]))\nend\n\nset [☁ hscore1 v] to [45]\nset [☁ hscore2 v] to [65]\nset [☁ hscore3 v] to [234]\nset [☁ hscore4 v] to [132]\nset [☁ hscore5 v] to [82]\n\nwhen [r v] key pressed\nif <(username) = [Draiveri77-11]> then\n    delete all of [--scores v]\n    repeat (5)\n        add [0] to [--scores v]\n    end\n    delete all of [--top 5 v]\n    repeat (5)\n        add [-] to [--top 5 v]\n    end\n    set [☁ hscore1 v] to [0]\n    set [☁ hscore2 v] to [0]\n    set [☁ hscore3 v] to [0]\n    set [☁ hscore4 v] to [0]\n    set [☁ hscore5 v] to [0]\n    set [☁ user1 v] to [63]\n    set [☁ user2 v] to [63]\n    set [☁ user3 v] to [63]\n    set [☁ user4 v] to [63]\n    set [☁ user5 v] to [63]\n    set [--current letter v] to [0]\n    set [--current text v] to [0]\n    set [--word v] to [0]\nend\n\n@Shine\n\nwhen flag clicked\nhide\n\nwhen I receive [hide blank v]\nrepeat (10)\n    change [ghost v] effect by (5)\nend\nhide\nclear graphic effects\nstop [other scripts in sprite v]\n\nwhen I receive [shine v]\nset [ghost v] effect to (100)\ngo to (player v)\nswitch costume to (Rarity)\nset size to (100) %\nshow\ngo to [front v] layer\ngo [backward v] (3) layers\nrepeat (10)\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [shine v]\nforever\n    turn right (1) degrees\nend\n\nwhen I receive [@explode v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nswitch costume to (explosion v)\nshow\nrepeat (30)\n    go to (player v)\n    change [ghost v] effect by (4)\n    change size by (10)\nend\nset size to (100) %\ndelete this clone\n\n
WHEEL RUSH - The Round Platformer Game!\n\n▬  ABOUT  ▬\n\nPLAYING\n❂ Wheel Rush is a platformer-type game where you roll on the top of the big circle and try to survive as long as possible by jumping over and under incoming spikes.\n\nSKINS & SHOP\n❂ You can get many different skins from Mystery Wheel Boxes by collecting coins. You can buy these from the shop.\n❂ There are skins with different rarities:\n- COMMON: Chance to get 60%\n- RARE: Chance to get 30%\n- EPIC: Chance to get 10%\nEpic skins have each a special ability!\n\nHIGH SCORES & STATISTICS\n❂ Try to get on top-5 cloud leaderboard (only in the test phase) with your best score! You'll see it by clicking leaderboard button.\n❂ Click statistics button to see fun information from your progress!\n\n▬  INSTRUCTIONS  ▬\n❂ [ ↑ ] key = jump\n❂ [ ↓ ] key = dash down\n❂ Mobile controls: Click arrow buttons on the screen. You can change their position from settings.\n\n▬  PROJECT INFO  ▬\n❂ 1900+ Blocks\n❂ 180+ Assets\n❂ 13 Sprites\n❂ 20 different skins\n\n▬  PROJECT DIARY  ▬\n❂ 8/5/22 - Released\n❂ 8/8/22 - Made the Bomb better and fixed the leaderboard\n❂ 8/9/22 - Fixed the music mute bug\n❂ 8/10/22 - Added one number more to the score counter, fixed the bug that the spikes start to spawn behind you and you literally can't die\n\n▬  CREDITS  ▬\n❂ Thanks to @funnycat123123 for the jumping engine!\n❂ BG effect inspired by Beat Legends\n❂ Thanks to Scratch library for sounds (edited)!\n❂ Music:\n"Crossword Puzzle" by @Draiveri77-11\n"Going On" by @Draiveri77-11\n❂ All other art, code and idea by me, @Draiveri77-11!\n❂ Big thanks to @ScratchJack1010 (my little brother) for testing this game! :)\n\n❂ Thank you everyone who plays this! Don't forget to ❤ and ★ if you enjoyed a game which I made just for you!\n\n▬  NOTES  ▬\n❂ Unfortunately, the cloud leaderboard does not work if you are a New Scratcher. Other stats will work though.\n❂ Feel free to post your ideas about new features, awesome skins, abilities, and more!\n❂ WARNING: DO NOT press green flag again if you don't want to lose your progress of this game!\n❂ Please report any bugs you find! I'll try my best to fix them :)\n\n╤╦╤\n└╫┘     ▬   - Draiveri :] \n╚╬╝\n─╨─    