RAINBOW - A Platformer 
@Stage\n\nwhen [space v] key pressed\nrepeat until <(backdrop [number v]) = [3]>\n    change [time v] by (0.1)\n    wait (0.1) seconds\nend\nshow variable [time v]\n\nwhen flag clicked\nset [time v] to [0]\nhide variable [time v]\n\n@background\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwhen I receive [next stage v]\nnext costume\n\nwhen flag clicked\nforever\n    set [level v] to (costume [number v])\nend\n\nwhen [0 v] key pressed\nnext costume\nbroadcast (go back 0 v)\n\nwhen flag clicked\nwait until <(costume [name v]) = [you win!]>\nswitch backdrop to (backdrop2 v)\nbroadcast (you win! \(end\) v)\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nwait until <(level) = [22]>\nswitch backdrop to (backdrop3 v)\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nwait until <(level) = [28]>\nswitch backdrop to (backdrop1 v)\n\n@trail\n\nwhen I start as a clone\nrepeat (12)\n    change [ghost v] effect by (8)\nend\ndelete this clone\n\nwhen [space v] key pressed\nshow\nset size to (80) %\nforever\n    go to (the guy v)\n    create clone of (_myself_ v)\nend\n\ngo to [front v] layer\n\ngo [backward v] (1) layers\n\nwhen flag clicked\nhide\n\nwhen I receive [thumbnail v]\nhide\n\nchange size by (-7)\n\nchange [color v] effect by (5)\n\nchange [color v] effect by (2)\n\n@the guy\n\nwhen [space v] key pressed\nset size to (100) %\nforever\n    set [speed x v] to ((speed x) * (0.75))\n    if <touching (grey v)?> then\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\npoint in direction (90)\nset size to (200) %\ngo to x: (0) y: (20)\n\nwhen I receive [change costume v]\nnext costume\n\nwhen I receive [change costume back v]\nswitch costume to ((costume [number v]) - (1))\n\nwhen I receive [thumbnail v]\nhide\n\nwhen [space v] key pressed\nset [speed y v] to [0]\nforever\n    change [speed y v] by (-1)\n    change y by (speed y)\n    touch ground <(speed y) > [0]>\nend\n\ndefine touch ground <up?>\nchange [falling v] by (1)\nrepeat until <not <touching (background v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\nwhen [space v] key pressed\nforever\n    if <<key (up arrow v) pressed?> and <(falling) < [3]>> then\n        set [speed y v] to [10]\n    end\nend\n\ndefine walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (background v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\nend\n\nset [speed y v] to [0]\n\nset [falling v] to [0]\n\nwhen flag clicked\nset [space v] to [0]\n\nwhen flag clicked\nforever\n    if <<key (space v) pressed?> and <(space) = [0]>> then\n        set [space v] to [1]\n        go to x: (-212) y: (-99)\n        go to [front v] layer\n    end\nend\n\nwhen [space v] key pressed\n\nwhen I receive [next stage v]\ngo to x: (-212) y: (-99)\n\nwhen [r v] key pressed\ngo to x: (-200) y: (-50)\n\nif <key (left arrow v) pressed?> then\n    walk [-90] [-6]\nend\nif <key (right arrow v) pressed?> then\n    walk [90] [6]\nend\n\nif <not <touching color (#ababab)?>> then\n\ndefine touching grey\n\ntouching grey\n\nbroadcast (touch grey v)\n\nif <touching (grey v)?> then\n\nwait (2) seconds\n\nwhen flag clicked\nforever\n    if <touching (trampoline v)?> then\n        set [speed y v] to [15]\n    end\nend\n\nwhen [space v] key pressed\nforever\n    if <<<touching (grey v)?> or <touching (saw v)?>> or <touching (colour stealer v)?>> then\n        repeat (10)\n            set [speed y v] to [1]\n            set [speed x v] to [0]\n            change [brightness v] effect by (10)\n            set [speed y v] to [1]\n            set [speed x v] to [0]\n        end\n        hide\n        go to x: (-212) y: (-99)\n        show\n        repeat (10)\n            change [brightness v] effect by (-10)\n        end\n    end\nend\n\nwhen flag clicked\nset [brightness v] effect to (0)\n\nwhen flag clicked\nforever\n    play sound [\[MP3DOWNLOAD v] until done\nend\n\nwhen I receive [go back 0 v]\ngo to x: (-212) y: (-99)\n\n@a platformer\n\nwhen flag clicked\nshow\nforever\n    show\n    wait (0.5) seconds\n    hide\n    wait (0.2) seconds\nend\n\nwhen [space v] key pressed\nforever\n    hide\nend\n\nwhen I receive [thumbnail v]\nhide\n\n@right\n\nwhen flag clicked\nshow\ngo to x: (50) y: (20)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (115) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen [space v] key pressed\nhide\n\nwhen this sprite clicked\nbroadcast (change costume v)\n\nwhen I receive [thumbnail v]\nhide\n\n@left\n\nwhen [space v] key pressed\nhide\n\nwhen flag clicked\nshow\ngo to x: (-50) y: (20)\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (115) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nbroadcast (change costume back v)\n\nwhen I receive [thumbnail v]\nhide\n\n@thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nforever\n    go to [front v] layer\n    show\n    set [ghost v] effect to (100)\nend\n\nhide\n\nshow\nbroadcast (thumbnail v)\n\n@next stage thingy\n\nwhen flag clicked\nshow\ngo to x: (247) y: (19)\nset [ghost v] effect to (100)\nforever\n    if <touching (the guy v)?> then\n        broadcast (next stage v)\n    end\nend\n\nwhen I receive [you win! \(end\) v]\nhide\n\n@grey\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to x: (0) y: (1)\n    switch costume to (level)\nend\n\n@colour stealer\n\nwhen [space v] key pressed\nforever\n    next costume\n    wait (0.07) seconds\nend\n\nwhen flag clicked\nset size to (45) %\nhide\n\nwhen [space v] key pressed\nforever\n    if <(level) = [18]> then\n        show\n        go to x: (200) y: (-84)\n        forever\n            repeat (80)\n                point in direction (-90)\n                move (5) steps\n            end\n            repeat (80)\n                point in direction (90)\n                move (5) steps\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(level) = [18]>> then\n        hide\n    end\nend\n\n@trampoline\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to x: (0) y: (0)\n    switch costume to (level)\nend\n\n@saw\n\nwhen flag clicked\nforever\n    hide\nend\n\nwhen [space v] key pressed\nhide\n\ngo [backward v] (1) layers\n\n\n\nshow\n\nturn right (15) degrees\n\nturn right (15) degrees\n\nset size to (60) %\n\n@eater egg!!!\n\nwhen flag clicked\nset size to (50) %\nset [ghost v] effect to (99)\n\nwhen [space v] key pressed\ngo to x: (-136) y: (90)\nwait until <<touching (the guy v)?> and <(level) = [27]>>\nset [ghost v] effect to (0)\nset [whirl v] effect to (500)\nset [pixelate v] effect to (100)\nrepeat (10)\n    change [pixelate v] effect by (-10)\n    wait (0.04) seconds\nend\nset [pixelate v] effect to (0)\nset [whirl v] effect to (500)\nrepeat (50)\n    change [whirl v] effect by (-10)\nend\nset [whirl v] effect to (0)\nrepeat (24)\n    next costume\n    wait (0.1) seconds\nend\nwait until <(level) = [28]>\nset [ghost v] effect to (99)\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen [space v] key pressed\nif <(username) = [lookypookyg]> then\n    go to x: (0) y: (0)\n    go to [front v] layer\n    show\n    stop [all v]\nend\n\n
Welcome to RAINBOW - A Platformer\n********************************************\nThis is my first Platformer EVER so pls ❤️ & ⭐\nI SHALL APPRECIATE IT IMMENSELY :)\n\nINSTRUCTIONS:\n- Arrow keys to move \n- Don't touch the grey \n- Purple trampolines are bouncy \n- Use arrow buttons at the start to change costumes \n- HAVE FUN!!! :D \n(full screen is recommended)\n\nIf u really need it, and the level is a bit too hard, then u can press 0 to skip level. (I don't recommend spam clicking 0 as you can get glitched)\n\nAlso there is an easter egg hidden in the game, if u find it pls don't comment the location, it kinda spoils it :I\n\nThere's also a timer, but you can ignore it, it's only if u want to time yourself. (it's hidden while you play, but shows at the end) - My high score is 107.4\nlet me know if u beat it! :D\nEDIT: my high score is now 96.5\n\nPlease support my little brother's account @Lookypookyg He's only 7 years old! 