Special! [PLATFORMER]

Instructions: Special! Platformer for my followers!\n\nBy @cool_scratch_girl\n✰Thank you so much for 50 followers :O I am so happy and I thank you all with all my heart! You guys are the best! \n\n✰ Instructions\nUse WASD, Mouse or Arrow Keys to move.\nDo not touch spikes or lava.\nTrampolines make you jump up.\nAnd most importantly have fun!\n\n✰Credits:\nPLEASE go follow: @_Super_Scratch_Girl_ because I own the rainbow floor idea 100% to her! Here is her project: https://scratch.mit.edu/projects/513745055/\n\nMusic: Harry Styles, my absolute favorite singer in the world! \n\nTags:\n#Rainbow #Platformer #Rainbow Platformer #Play #Fun Games #All #Games #quality #lava #Spikes #HarryStyles #Followers #Huge #Thankyou #Tysm #Loveyouguys

@Stage\n\n@Player\n\nwhen flag clicked\nforever\n    if <<not <key (up arrow v) pressed?>> and <<not <key (right arrow v) pressed?>> and <not <<key (left arrow v) pressed?> or <key (down arrow v) pressed?>>>>> then\n        switch costume to (middle v)\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <touching (end v)?>\n    broadcast (NEXT LEVEL v)\n    go to x: (-200) y: (-101)\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [240]> then\n        Next level\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ee67ff)?> then\n        set [y v v] to [20]\n    end\nend\n\nwhen flag clicked\nswitch costume to (middle v)\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (right v)\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        switch costume to (up v)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (left v)\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        switch costume to (down v)\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nset size to (100) %\nreset\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v v] by (.9)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v v] by (-.9)\n    end\n    set [x v v] to ((X v) * (0.9))\n    change x by (X v)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((X v) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n                                if <(X v) > [0]> then\n                                    set [x v v] to [-5]\n                                else\n                                    set [x v v] to [5]\n                                end\n                                set [y v v] to [15]\n                            else\n                                set [x v v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v v] by (-1)\n    change y by (Y v)\n    if <touching (ground v)?> then\n        change y by ((Y v) * (-1))\n        set [y v v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n            set [y v v] to [12]\n        end\n    end\n    change y by (1)\n    If touching\nend\n\ndefine Reset player variables\nset [x v v] to [0]\nset [y v v] to [0]\nhide variable [level v]\nhide variable [y v v]\nhide variable [x v v]\n\ndefine reset\nset size to (100) %\nshow\ngo to x: (-200) y: (0)\npoint in direction (90)\nReset player variables\n\nwhen flag clicked\nswitch costume to (middle v)\n\ndefine Next level\nchange [level v] by (1)\nReset player variables\nreset\n\nwhen I receive [next level v]\nchange [level v] by (1)\n\ndefine If touching\nif <touching (spikes v)?> then\n    reset\nend\n\nwhen backdrop switches to [mountains v]\nforever\n    show\nend\n\nwhen flag clicked\nIf touching\nforever\n    if <touching color (#ff4848)?> then\n        reset\n    end\nend\n\n@Ground\n\nwhen flag clicked\ngo to x: (-15) y: (-8)\nshow\n\nwhen backdrop switches to [mountains v]\nshow\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    switch costume to (Level)\nend\n\n@Spikes\n\nwhen flag clicked\ngo to [back v] layer\nshow\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [mountains v]\nshow\n\n@End\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [mountains v]\nshow\n\n@Text\n\nwhen flag clicked\ngo to x: (36) y: (28)\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen backdrop switches to [mountains v]\nshow\n\n@Bounce\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    switch costume to (Level)\nend\n\n@Sun\n\nwhen flag clicked\ngo to [back v] layer\nreset timer\nforever\n    go to x: (206) y: (160)\n    set size to ((([sin v] of ((timer) * (160)) ) * (20)) + (120)) %\nend\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [mountains v]\nshow\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    show\n    go to [front v] layer\n    change [ghost v] effect by (500)\nend\n\n@Skipbutton\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (11) y: (-124)\nshow\n\nwhen this sprite clicked\nbroadcast (NEXT LEVEL v)\n\nwhen backdrop switches to [mountains v]\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [12]> then\n        hide\n    else\n        show\n    end\nend\n\n@No noise\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (65) y: (-124)\nshow\n\nwhen this sprite clicked\nstop all sounds\n\nwhen backdrop switches to [mountains v]\nshow\n\n@Noise\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (119) y: (-124)\nshow\n\nwhen this sprite clicked\nstart sound [Watermelon Sugar v]\nset volume to (100) %\n\nwhen backdrop switches to [mountains v]\nshow\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.8) seconds\n    next costume\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    wait (0.8) seconds\n    next costume\nend\n\n