thunderSTORM ( a new platformer)

Instructions: .Use arrow keys to move your avatar!\n.Press R if you are stuck\n.Like and favourite teehee\n.Comment whether you made it or not or where you got up to!\n.You can use my coding to make your own platformer!!\n. And last of all try to complete it and have some fun!!! :))

@Stage\n\nwhen flag clicked\n\n@block\n\nwhen I receive [play v]\n\nwhen [r v] key pressed\ngo to x: (-190) y: (20)\n\nwhen flag clicked\nset [x v] to [0]\ngo to x: (-170) y: (0)\nset [y v] to [0]\nforever\n    if <touching color (#ff0000)?> then\n        set [x v] to [0]\n        go to x: (-170) y: (0)\n        set [y v] to [0]\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    if <key (left 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 (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                        end\n                        if <key (up arrow v) pressed?> then\n                            if <(x) > [ 0 ]> then\n                                set [x v] to [-5]\n                            else\n                                set [x v] to [5]\n                            end\n                            set [y v] to [10]\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching color (#000000)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n        end\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#008fff)?> then\n        switch backdrop to (next backdrop v)\n        go to x: (-170) y: (0)\n    end\n    if <touching color (#00ffff)?> then\n        set [y v] to [22]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [parkour time \( ball \) v]\ngo to x: (-170) y: <<[0] > > and >\nshow\n\nwhen flag clicked\nswitch backdrop to (backdrop25 v)\n\nwhen backdrop switches to [last screennnn v]\nbroadcast (last screen v)\nshow variable [deaths: v]\nshow variable [world high score v]\n\nwhen flag clicked\nhide variable [deaths: v]\n\nwhen flag clicked\nset [world high score v] to [0]\nhide variable [world high score v]\nhide variable [deaths: v]\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        change [deaths: v] by (1)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (new first screen v)\n\nwhen I receive [parkour time \( ball \) v]\nforever\n    play sound [Undertale  Megalovania v] until done\n    wait (0.0000000000000000000000000000001) seconds\nend\n\nwhen backdrop switches to [backdrop23 v]\nstop all sounds\nforever\n    play sound [Techno v] until done\nend\n\nwhen flag clicked\nstop all sounds\n\ngo to (random position v)\n\n@checkpoint\n\nhide variable [deaths v]\n\nwhen flag clicked\nhide\n\nwhen I receive [parkour time \( ball \) v]\nshow\n\n@start button\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n        wait until <not <touching (mouse-pointer v)?>>\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nhide\nwait (0) seconds\nbroadcast (LOADING SCREEN v)\nswitch backdrop to (loading v)\n\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [backdrop25 v]\n\n@load sprite\n\nwhen flag clicked\nforever\n    wait (0.0002) seconds\n    next costume\nend\n\nwhen I receive [loading screen v]\nshow\nwait (5) seconds\nbroadcast (Parkour time \( ball \) v)\nhide\nswitch backdrop to (obby 1 v)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nswitch backdrop to (first screen v)\n\n