Platformer 

Instructions: up arrow key to jump  \nleft key to move left \nright key to move right \n\npls no COPY and REMIX

@Stage\n\nwhen flag clicked\nstart sound [Dance Slow Mo v]\n\nwait (1000000) seconds\n\nwhen flag clicked\nset volume to (100) %\n\nif <key (space v) pressed?> then\n\nwhen flag clicked\nswitch backdrop to (intro screen v)\n\nwait (1) seconds\n\nwhen flag clicked\nif <key (space v) pressed?> then\n\nwhen flag clicked\n\nwhen I receive [level 1 v]\nforever\n    wait (1) seconds\n    start sound [Dance Energetic v]\nend\n\nwhen I receive [level 1 v]\nswitch backdrop to (level 1  v)\n\nwait (10) seconds\n\n\n\nrepeat (2)\n\nwhen I receive [loading screen v]\n\nrepeat until <key (space v) pressed?>\n\nstart sound [Dance Energetic v]\n\nstart sound [Dance Energetic v]\n\n\n\nbroadcast (level 1 v)\nstop all sounds\n\n@mario\n\nwhen flag clicked\nforever\n    gf\n    controls\n    death\nend\n\ndefine gf\nif <touching color (#e40000)?> then\n    set [set y speed v] to ((set y speed) * (-1))\nelse\n    if <touching color (#000000)?> then\n        set [set y speed v] to [0]\n        if <key (up arrow v) pressed?> then\n            set [set y speed v] to [10]\n        end\n    else\n        change [set y speed v] by (-0.5)\n    end\nend\nchange y by (set y speed)\n\nwhen flag clicked\nswitch backdrop to (level 1  v)\n\nwhen flag clicked\ngo to start\n\ndefine go to start\ngo to x: (-80) y: (-131)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\ndefine controls\nif <key (right arrow v) pressed?> then\n    change x by (5)\nend\nif <key (left arrow v) pressed?> then\n    change x by (-5)\nend\n\nwhen flag clicked\nswitch backdrop to (level 1  v)\n\ndefine death\nif <touching (saw 7 v)?> then\n    go to start\nend\nif <touching (saw 6 v)?> then\n    go to start\nend\nif <touching (spike v)?> then\n    go to start\nend\nif <touching (spike 2 v)?> then\n    go to start\nend\nif <touching (spike 3 v)?> then\n    go to start\nend\nif <touching (saw wheel v)?> then\n    go to start\nend\nif <touching (saw wheel 2 v)?> then\n    go to start\nend\nif <touching (spike 4 v)?> then\n    go to start\nend\nif <touching color (#1a00ff)?> then\n    go to start\nend\nif <touching color (#1700ff)?> then\n    go to start\nend\nif <touching (spike 5 v)?> then\n    go to start\nend\nif <touching (saw 4 v)?> then\n    go to x: (-194) y: (-134)\nend\nif <touching (saw 3 v)?> then\n    go to x: (-194) y: (-134)\nend\nif <touching color (#00ff28)?> then\n    go to x: (-215) y: (-132)\nend\nif <touching (spike 6 v)?> then\n    go to x: (-215) y: (-132)\nend\nif <touching (saw 5 v)?> then\n    go to x: (-208) y: (-131)\nend\nif <touching (laser  v)?> then\n    go to x: (-211) y: (-132)\nend\n\nwhen I receive [level 2 v]\ngo to start\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        switch backdrop to (level 2 v)\n        broadcast (level 2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal 2 v)?> then\n        switch backdrop to (level 3 v)\n        broadcast (level 3 v)\n    end\nend\n\nwhen I receive [level 3 v]\ngo to start\n\nwhen flag clicked\nforever\n    if <touching (portal 4 v)?> then\n        switch backdrop to (level 5  v)\n        broadcast (level 5 v)\n    end\nend\n\nwhen I receive [level 4 v]\ngo to start\n\nwhen I receive [level 5 v]\ngo to start\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <touching (portal 3 v)?> then\n        switch backdrop to (level 4 v)\n        broadcast (level 4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal 5 v)?> then\n        broadcast (level 6 v)\n        switch backdrop to (level 6 v)\n    end\nend\n\nwhen I receive [level 6 v]\ngo to start\n\nwhen flag clicked\nforever\n    if <touching (portal 6 v)?> then\n        broadcast (level 7 v)\n        switch backdrop to (level 7 v)\n    end\nend\n\nwhen I receive [level 7 v]\ngo to start\n\nwhen I receive [level 8 v]\ngo to start\n\nwhen flag clicked\nforever\n    if <touching (portal 7 v)?> then\n        broadcast (level 8 v)\n        switch backdrop to (level 8 v)\n    end\nend\n\nwhen I receive [levl 9 v]\ngo to start\n\nwhen flag clicked\nforever\n    if <touching (portal 8 v)?> then\n        switch backdrop to (level 9 v)\n        broadcast (levl 9 v)\n    end\nend\n\nwhen I receive [level 1 v]\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen I receive [levl 9 v]\ngo to x: (-185) y: (-137)\n\nwhen flag clicked\nforever\n    if <touching (portal 9 v)?> then\n        switch backdrop to (level 10 v)\n        broadcast (level 10 v)\n    end\nend\n\nwhen I receive [level 10 v]\ngo to x: (-215) y: (-132)\n\nwhen flag clicked\nforever\n    if <touching (portal 10 v)?> then\n        broadcast (level 11 v)\n        switch backdrop to (level 11 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal 11 v)?> then\n        broadcast (level 12 v)\n        switch backdrop to (level 12 v)\n    end\nend\n\nwhen I receive [level 11 v]\ngo to start\n\nwhen flag clicked\nrepeat until <touching (portal v)?>\n    if <key (space v) pressed?> then\n        broadcast (level 1 v)\n        stop all sounds\n    end\nend\n\nwhen I receive [level 13 v]\n\nwhen I receive [level 12 v]\ngo to x: (-208) y: (-131)\n\nwhen flag clicked\nforever\n    if <touching (portal 12 v)?> then\n        broadcast (level 13 v)\n        switch backdrop to (level 13 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal 13 v)?> then\n        broadcast (level 14 v)\n        switch backdrop to (level 14 v)\n    end\nend\n\nwhen I receive [level 13 v]\ngo to start\n\nwhen I receive [level 13 v]\ngo to x: (-195) y: (-133)\n\ngo to start\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen I receive [level 14 v]\ngo to x: (-209) y: (-133)\n\nwhen flag clicked\nforever\n    if <touching color (#b2ff00)?> then\n        broadcast (15 v)\n        switch backdrop to (level 15 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal 14 v)?> then\n        broadcast (level 15 v)\n        switch backdrop to (level 15 v)\n    end\nend\n\n\n\n\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (portal 15 v)?> then\n        broadcast (level 16 v)\n        switch backdrop to (level 16 v)\n    end\nend\n\n\n\nwhen I receive [level 15 v]\ngo to x: (-71) y: (-127)\n\nwhen I receive [level 16 v]\ngo to start\n\nwhen flag clicked\nforever\n    if <touching (portal 16 v)?> then\n        switch backdrop to (level 17  v)\n        broadcast (level 17 v)\n    end\nend\n\nwhen flag clicked\n\nforever\n    if <touching (portal 16 v)?> then\n        broadcast (level 17 v)\n        switch backdrop to (level 17  v)\n    end\nend\n\nwhen flag clicked\n\nforever\n\nchange [color v] effect by (25)\n\nwhen flag clicked\nswitch costume to (costume3 v)\n\n@portal\n\nwhen flag clicked\nshow\n\nhide\n\nwhen I receive [level 2 v]\nhide\n\nwhen flag clicked\ngo to x: (179) y: (123)\n\ngo to x: (189) y: (-145)\n\nwhen I receive [level 1 v]\nshow\n\nwhen flag clicked\nhide\n\n@spike\n\nwhen flag clicked\nhide\n\nwhen I receive [level 2 v]\nshow\n\nwhen I receive [level 3 v]\nhide\n\n@portal 2\n\nwhen flag clicked\nhide\n\nwhen I receive [level 2 v]\nshow\n\nwhen I receive [level 3 v]\nhide\n\n@portal 3\n\nwhen flag clicked\nhide\n\nwhen I receive [level 3 v]\nshow\n\nwhen I receive [level 4 v]\nhide\n\n@spike 2\n\nwhen flag clicked\nhide\n\nwhen I receive [level 3 v]\nshow\n\nwhen I receive [level 4 v]\nhide\n\n@Spike 3\n\nwhen flag clicked\nhide\n\nwhen I receive [level 5 v]\nshow\n\nwhen I receive [level 6 v]\nhide\n\n@portal 4\n\nwhen flag clicked\nhide\n\nwhen I receive [level 4 v]\nshow\n\nwhen I receive [level 5 v]\nhide\n\n@portal 5\n\nwhen flag clicked\nhide\n\nwhen I receive [level 5 v]\nshow\n\nwhen I receive [level 6 v]\nhide\n\n@saw wheel\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [level 6 v]\nshow\n\nwhen I receive [level 7 v]\nhide\n\nwhen I receive [levl 9 v]\nhide\n\n@portal 6\n\nwhen flag clicked\nhide\n\nwhen I receive [level 6 v]\nshow\n\nwhen I receive [level 7 v]\nhide\n\n@saw wheel 2\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\ngo to x: (32) y: (-120)\n\nwhen I receive [level 7 v]\nshow\n\nwhen I receive [level 8 v]\nshow\n\nwhen I receive [level 7 v]\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    glide (3) secs to x: (32) y: (-120)\n    wait (0.5) seconds\n    glide (3) secs to x: (37) y: (112)\nend\n\nwhen I receive [levl 9 v]\nhide\n\n@portal 7\n\nwhen flag clicked\nhide\n\nwhen I receive [level 7 v]\nshow\n\nwhen I receive [level 8 v]\nhide\n\n@spike 4\n\nwhen flag clicked\nhide\n\nwhen I receive [level 8 v]\nshow\n\nwhen I receive [levl 9 v]\nhide\n\n@spike 5\n\nwhen I receive [level 8 v]\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [levl 9 v]\nhide\n\n@portal 8\n\nwhen flag clicked\nhide\n\nwhen I receive [level 8 v]\nshow\n\nwhen I receive [levl 9 v]\nhide\n\n@portal 9\n\nwhen flag clicked\nhide\n\nwhen I receive [levl 9 v]\nshow\n\nwhen I receive [level 10 v]\nhide\n\n@saw 3\n\nwhen I receive [levl 9 v]\nshow\n\nwhen I receive [level 10 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (-100) y: (144)\n    wait (0.2) seconds\n    glide (0.5) secs to x: (-111) y: (-105)\nend\n\nglide (1) secs to x: (0) y: (0)\n\n@saw 4\n\nwhen I receive [levl 9 v]\nshow\n\nwhen I receive [level 10 v]\nhide\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (101) y: (129)\n    wait (0.2) seconds\n    glide (0.5) secs to x: (104) y: (-102)\nend\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\nhide\n\n@Magic Platfrom 1 \n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 v]\nshow\nrepeat until <touching (portal 10 v)?>\n    hide\n    wait (1) seconds\n    show\n    wait (1) seconds\nend\n\nwhen I receive [level 11 v]\nforever\n    hide\nend\n\ngo to [back v] layer\n\n@Magic Platfrom 2\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 v]\nshow\nrepeat until <touching (portal 10 v)?>\n    hide\n    wait (1) seconds\n    show\n    wait (1) seconds\nend\n\nwhen I receive [level 11 v]\nforever\n    hide\nend\n\nforever\n    hide\n    wait (2) seconds\n    show\n    wait (2) seconds\nend\n\n@portal 10\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 v]\nshow\n\nwhen I receive [level 11 v]\nhide\n\n@Spike 6\n\nwhen flag clicked\nhide\n\nwhen I receive [level 11 v]\nshow\n\nwhen I receive [level 12 v]\nhide\n\nshow\n\n@portal 11\n\nwhen flag clicked\nhide\n\nwhen I receive [level 11 v]\nshow\n\nwhen I receive [level 12 v]\nhide\n\n@saw 5\n\nwhen I receive [level 12 v]\nshow\n\nwhen I receive [level 13 v]\nhide\n\nwhen flag clicked\nforever\n    glide (0.4) secs to x: (146) y: (128)\n    wait (0.2) seconds\n    glide (0.4) secs to x: (151) y: (-132)\nend\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\nhide\n\n@portal 12\n\nwhen flag clicked\nhide\n\nwhen I receive [level 12 v]\nshow\n\nwhen I receive [level 13 v]\nhide\n\nshow\n\n@portal 13\n\nwhen flag clicked\nhide\n\nwhen I receive [level 13 v]\nshow\n\nwhen I receive [level 13 v]\nshow\n\nwhen I receive [level 14 v]\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(username) = [Chasekorn2030]> then\n        show\n    end\nend\n\nstop [all v]\n\n@laser \n\nwhen flag clicked\nhide\n\nwhen I receive [level 14 v]\nshow\n\nwhen I receive [level 15 v]\nhide\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.7) seconds\nend\n\n@portal 14\n\nwhen flag clicked\nhide\n\nwhen I receive [level 14 v]\nshow\n\nwhen I receive [level 15 v]\nhide\n\n@portal 15\n\nwhen flag clicked\nhide\n\nwhen I receive [level 15 v]\nshow\n\nwhen I receive [level 16 v]\nhide\n\n@saw 6\n\nwhen I receive [level 16 v]\nhide\n\nwhen I receive [level 15 v]\nshow\n\nwhen flag clicked\nforever\n    glide (0.4) secs to x: (-120) y: (120)\n    wait (0.2) seconds\n    glide (0.4) secs to x: (-127) y: (-167)\nend\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\nhide\n\n@saw 7\n\nwhen I receive [level 16 v]\nhide\n\nwhen I receive [level 15 v]\nshow\n\nwhen flag clicked\nforever\n    glide (0.4) secs to x: (146) y: (128)\n    wait (0.2) seconds\n    glide (0.4) secs to x: (151) y: (-132)\nend\n\nwhen flag clicked\nforever\n    next costume\nend\n\nwhen flag clicked\nhide\n\n@ethan\n\nwhen flag clicked\ngo to x: (180) y: (-101)\npoint in direction (90)\nhide\n\nwhen I receive [level 16 v]\nwait (1) seconds\nstart sound [Pop v]\nshow\nwait (1) seconds\nglide (1) secs to x: (-216) y: (-97)\ngo to x: (180) y: (-101)\nswitch costume to (hurt v)\nsay [SPEED] for (2) seconds\nwait (1) seconds\nglide (0.5) secs to x: (-216) y: (-97)\nrepeat (10)\n    next costume\nend\nbroadcast (boss defeated v)\n\nforever\n\nwhen flag clicked\nswitch costume to (sigma  v)\n\nwhen flag clicked\n\nwhen flag clicked\n\nturn left (15) degrees\n\ngo to x: (146) y: (-103)\n\n\n\n\n\ngo to x: (-182) y: (-77)\npoint in direction (90)\nswitch costume to (hurt v)\nwait (1) seconds\nswitch costume to (sigma  v)\n\nstart sound [ v]\n\nstop all sounds\n\nstop all sounds\n\npoint in direction (0)\nwait (1) seconds\npoint in direction (90)\nwait (1) seconds\npoint in direction (0)\nglide (1) secs to x: (-182) y: (-77)\nwait (1) seconds\nglide (1) secs to x: (182) y: (-73)\n\nforever\n\n@Magic Platfrom 3\n\nwhen flag clicked\nhide\n\nwhen I receive [level 17 v]\nhide\n\nwhen I receive [boss defeated v]\nwait (1) seconds\nshow\n\nforever\n    hide\n    wait (2) seconds\n    show\n    wait (2) seconds\nend\n\nforever\n\nrepeat until <touching (portal 10 v)?>\n    hide\n    wait (1) seconds\n    show\n    wait (1) seconds\nend\n\n@Magic Platfrom 4\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 v]\n\nwhen I receive [boss defeated v]\nwait (2) seconds\nshow\n\nhide\n\nforever\n    hide\n    wait (2) seconds\n    show\n    wait (2) seconds\nend\n\nforever\n\nrepeat until <touching (portal 10 v)?>\n    hide\n    wait (1) seconds\n    show\n    wait (1) seconds\nend\n\nwhen I receive [level 17 v]\nhide\n\n@Magic Platfrom 5\n\nwhen flag clicked\nhide\n\nwhen I receive [level 10 v]\n\nwhen I receive [boss defeated v]\nwait (3) seconds\nshow\n\nhide\n\nforever\n    hide\n    wait (2) seconds\n    show\n    wait (2) seconds\nend\n\nforever\n\nrepeat until <touching (portal 10 v)?>\n    hide\n    wait (1) seconds\n    show\n    wait (1) seconds\nend\n\nwhen I receive [level 17 v]\nhide\n\n@portal 16\n\nwhen flag clicked\nhide\n\nwhen I receive [level 17 v]\nhide\n\nwhen I receive [boss defeated v]\nwait (3) seconds\nshow\n\n