Griffpatch platformer

Instructions: Save Griffpatch -Platformer! \n=========================================\n(Instructions in game) [x to mute music] [s to play music] \n=========================================\nThis is the game you've all been waiting for...\nHope you enjoy! I know it's easy\n=========================================\nMake sure to wait till he stops speaking at the end to save score\n-------------------------------------------------------------------------\n444 views- 20 Aug 2017_16:24\n100 comments- 20 Aug 2017_19:38\n150 loves- 21 Aug 2017_14:16\n3131 views- 23 Aug 2017_10:30\n20,000 views :O

@Stage\n\nwhen I receive [minecraft v]\nswitch backdrop to (backdrop8 v)\n\nwhen I receive [next level v]\nnext backdrop\nwait (1) seconds\n\nwhen flag clicked\nforever\n    if <key (x v) pressed?> then\n        set volume to (0) %\n    end\n    if <key (s v) pressed?> then\n        set volume to (100) %\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [ILLUMINATI SONG - IMPOSSIBLE MLG REMIX v] until done\nend\n\n@@griffpatch\n\nwhen flag clicked\nforever\n    if <touching color (#00cccc)?> then\n        start sound [water drop v]\n        wait until <not <touching color (#00cccc)?>>\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spinner v)?> then\n        repeat (10)\n            change x by (-5)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <[244] < (x position)> then\n        broadcast (next level v)\n        set x to (-261)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#cc0000)?> then\n        start sound [recording1 v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (you died! v)\n        hide\n        go to x: (-40) y: (-50)\n        wait (1) seconds\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#db1e04)?> then\n        start sound [explosion v]\n        glide (0.5) secs to x: (14) y: (136)\n        glide (0.5) secs to x: (107) y: (132)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(backdrop [name v]) = [Glasses]> or <(backdrop [name v]) = [Glasses2]>> and <<(y position) > [172]> and <[-130] > (x position)>>> then\n        set y to (-20)\n        broadcast (next level v)\n    end\nend\n\nwhen backdrop switches to [finished v]\ngo to x: (-233) y: (-123)\n\nwhen flag clicked\nset [ghost v] effect to (0)\nswitch costume to (g.p v)\npoint in direction (90)\nswitch backdrop to (backdrop1 v)\ngo to x: (-40) y: (-50)\nshow\ngo to [front v] layer\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (1)\n    end\n    if <touching color (#000008)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n            set [y v] to [15]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching color (#000008)?> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <key (space v) pressed?>> and <touching color (#000008)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [y v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#f123ff)?> then\n        broadcast (minecraft v)\n        go to x: (-212) y: (-40)\n    end\nend\n\nif <(Timer) < (☁ World Record)> then\n    wait (1) seconds\n    set [☁ world record v] to (Timer)\nend\n\nwhen backdrop switches to [finished v]\nif <(Timer) < (☁ World Record)> then\n    say (join [You beat the record time ] (join (☁ World Record) (join [ With ] (Timer)))) for (5) seconds\nelse\n    say (join (join [You got ] (Timer)) (join [ The record time is ] (☁ World Record))) for (4) seconds\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00cccc)?> then\n        repeat until <not <touching color (#00cccc)?>>\n            point in direction (0)\n            move (10) steps\n            point in direction (90)\n        end\n    end\nend\n\nwhen backdrop switches to [glasses v]\ngo to x: (-238) y: (-50)\n\n@Taco\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [name v]) = [Taco]> then\n        show\n    else\n        hide\n    end\nend\n\n@Spinner\n\nwhen flag clicked\nhide\n\nset size to (100) %\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [Spinners]> then\n        go to x: (214) y: (-59)\n        start sound [Swoosh v]\n        glide (1) secs to x: (-207) y: (-106)\n        wait (1) seconds\n        create clone of (_myself_ v)\n        hide\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [Spinners]> then\n        set size to (100) %\n        show\n        go to [front v] layer\n        switch costume to (costume1 v)\n        repeat (150)\n            switch costume to (pick random (2) to (7))\n            wait (0.05) seconds\n            switch costume to (pick random (8) to (12))\n            wait (0.05) seconds\n        end\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (214) y: (-59)\nstart sound [Swoosh v]\nglide (1) secs to x: (-207) y: (-106)\ndelete this clone\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\nshow\n\n@You Died!\n\nwhen I receive [you died! v]\nshow\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\n@Timer\n\nwhen flag clicked\nset [timer v] to [0]\nforever\n    wait (1) seconds\n    change [timer v] by (1)\nend\n\nwhen I receive [you died! v]\nset [timer v] to [9000000000000000000000000000000000]\n\nwhen backdrop switches to [finished v]\nstop [other scripts in sprite v]\n\n@bug\n\nwhen flag clicked\ngo to x: (201) y: (-28)\nforever\n    set [ghost v] effect to (25)\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [2]> then\n        show\n    else\n        hide\n    end\nend\n\n