Colors! A Platformer 3! 

Instructions: Arrow keys to move and jump!\nGet to the end of the screen to advance!\nAvoid the Spikes!\n\nI know it's very short ill probably add more levels, I was mainly just experimenting with different things. Also, I'm working on making it mobile friendly {:

@Stage\n\nwhen flag clicked\n\n@Sprite1\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    repeat (16)\n        change [color v] effect by (7)\n        change [ghost v] effect by (6.5)\n        if <(x position) > [310]> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen flag clicked\nhide\n\nif <touching (sprite6 v)?> then\n\nswitch costume to (costume1 v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ngo to x: (-180) y: (-127)\nset [ghost v] effect to (0)\nswitch costume to (costume v)\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-73) y: (-126)\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    if <(x position) > [310]> then\n        wait (.1) seconds\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-64) y: (-111)\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (-103) y: (-161)\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (-86) y: (-120)\n\nwhen backdrop switches to [backdrop7 v]\ngo to x: (-72) y: (-114)\n\nwhen backdrop switches to [backdrop8 v]\ngo to x: (-63) y: (-141)\n\nwhen backdrop switches to [backdrop9 v]\ngo to x: (-63) y: (-143)\n\nwhen I receive [game start! v]\nstart sound [Elektronomia - Limitless \[NCS Release\] v]\n\nwhen I receive [end v]\nhide\n\nwhen I receive [game start! v]\nshow\nset [deaths v] to [0]\nswitch costume to (costume1 v)\nshow\ngo to x: (-77) y: (-110)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        switch costume to (costume v)\n        change [x v] by (.7)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-0.7)\n        switch costume to (costume v)\n    end\n    change x by (X)\n    set [x v] to ((X) * (0.9))\n    if <touching color (#18ff4d)?> then\n        change y by (0.5)\n        if <touching color (#18ff4d)?> then\n            change y by (0.5)\n            if <touching color (#18ff4d)?> then\n                change y by (0.5)\n                if <touching color (#18ff4d)?> then\n                    change y by (0.5)\n                    if <touching color (#18ff4d)?> then\n                        change y by (0.5)\n                        if <touching color (#18ff4d)?> then\n                            change y by (0.5)\n                            if <touching color (#18ff4d)?> then\n                                change y by (0.5)\n                                if <touching color (#18ff4d)?> then\n                                    change y by (0.5)\n                                    if <key (up arrow v) pressed?> then\n                                        if <[0] < (X)> then\n                                            set [x v] to [-7]\n                                        else\n                                            set [x v] to [7]\n                                        end\n                                        set [y v] to [10]\n                                    else\n                                        set [x v] to ((X) * (-1.3))\n                                        change x by (X)\n                                        set [x v] to [0]\n                                        change x by ((X) / (5))\n                                    end\n                                    change y by (-4)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-0.5)\n    change y by (Y)\n    if <touching color (#18ff4d)?> then\n        set [y v] to ((Y) * (-0.25))\n        change y by (Y)\n        if <touching color (#18ff4d)?> then\n            change y by (Y)\n            if <touching color (#18ff4d)?> then\n                change y by (Y)\n                if <touching color (#18ff4d)?> then\n                    change y by (Y)\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if  then\n        set [y v] to [10]\n        switch costume to (costume v)\n    end\n    change y by (1)\n    if <<key (left arrow v) pressed?> and <key (right arrow v) pressed?>> then\n        change [x v] by (0.5)\n    end\n    if <<(x position) > [270]> and <(backdrop [number v]) = [9]>> then\n        wait (.3) seconds\n        broadcast (End v)\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    else\n        if <(x position) > [270]> then\n            broadcast (next backdrop v)\n        end\n    end\n    if <touching (sprite4 v)?> then\n        go to x: (-64) y: (-130)\n    end\n    if <(y position) < [-230]> then\n        change [deaths v] by (1)\n        go to x: (-131) y: (-159)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\n@Sprite2\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [backdrop7 v]\nswitch costume to (costume4 v)\n\nwhen backdrop switches to [backdrop8 v]\nswitch costume to (costume5 v)\n\nwhen backdrop switches to [backdrop9 v]\nswitch costume to (costume6 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [game start! v]\nshow\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop10 v]\nswitch costume to (costume7 v)\n\nwhen I receive [end v]\nhide\n\n@download (6)\n\nwhen I start as a clone\nshow\ngo to [back v] layer\ngo to [back v] layer\nrepeat until <(x position) < [-220]>\n    move (5) steps\nend\ndelete this clone\n\nhide\n\ndefine Start\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\nshow\nStart\nhide\nforever\n    wait (.4) seconds\n    hide\n    point in direction (pick random (-70) to (-100))\n    go to x: (300) y: (pick random (-180) to (180))\n    set size to (pick random (20) to (50)) %\n    set [ghost v] effect to (pick random (45) to (80))\n    set [color v] effect to (pick random (1) to (100))\n    create clone of (_myself_ v)\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (-240) y: (180)\nhide\nrepeat (60)\n    create clone of (_myself_ v)\n    change x by (8)\nend\n\nwhen I start as a clone\nforever\n    hide\n    set [ghost v] effect to (pick random (30) to (80))\n    set [color v] effect to (pick random (1) to (100))\n    go [backward v] (1000) layers\n    go to x: (x position) y: (180)\n    wait (pick random (0) to (4)) seconds\n    show\n    glide (pick random (4) to (10)) secs to x: (x position) y: (-180)\nend\n\nwhen I receive [end v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen backdrop switches to [backdrop3 v]\nshow\ngo to x: (39) y: (-135)\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (costume2 v)\ngo to x: (-28) y: (-135)\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (costume1 v)\ngo to x: (-122) y: (14)\n\nwhen backdrop switches to [backdrop7 v]\nswitch costume to (costume5 v)\n\nshow\n\nwhen backdrop switches to [backdrop7 v]\nswitch costume to (costume5 v)\ngo to x: (-15) y: (-88)\n\nwhen backdrop switches to [backdrop8 v]\nswitch costume to (costume6 v)\ngo to x: (12) y: (-49)\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nswitch costume to (costume7 v)\ngo to x: (21) y: (-52)\n\nwhen I receive [end v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [game start! v]\nshow\ngo to x: (46) y: (32)\ngo to [front v] layer\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen I receive [game start! v]\nshow\n\nwhen I receive [end v]\nhide\n\n@Sprite7\n\nwhen flag clicked\nshow\nwait (2) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (Game Start! v)\n\n@Sprite9\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop6 v]\nif <(pick random (1) to (1001)) > [999]> then\n    go to [front v] layer\n    show\n    go to x: (-59) y: (60)\nend\n\n@Sprite10\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\ngo to x: (36) y: (28)\n\n