Platformer!

Instructions: Arrows to move Blu.\nBlack is safe.\nRed is ouchie!\ncollect the coins!\nTwo at the moment even though there are three coin spots!\nplease love and favourite!

@Stage\n\nwhen backdrop switches to [backdrop33 v]\nbroadcast (game over v)\n\n@Sprite1\n\nwhen I receive [game over v]\nhide list [highscores v]\nadd [thing] to [highscores v]\nif <(Your Time) > (☁ Highscore5)> then\n    if <(Your Time) > (☁ Highscore4)> then\n        if <(Your Time) > (☁ Highscore3)> then\n            if <(Your Time) > (☁ Highscore2)> then\n                if <(Your Time) > (☁ Highscore1)> then\n                    replace item (5) of [highscores v] with (item (4) of [highscores v])\n                    replace item (4) of [highscores v] with (item (3) of [highscores v])\n                    replace item (3) of [highscores v] with (item (2) of [highscores v])\n                    replace item (2) of [highscores v] with (item (1) of [highscores v])\n                    replace item (1) of [highscores v] with (join (username) (Your Time))\n                else\n                    replace item (5) of [highscores v] with (item (4) of [highscores v])\n                    replace item (4) of [highscores v] with (item (3) of [highscores v])\n                    replace item (3) of [highscores v] with (item (2) of [highscores v])\n                    replace item (2) of [highscores v] with (join (username) (Your Time))\n                end\n            else\n                replace item (5) of [highscores v] with (item (4) of [highscores v])\n                replace item (4) of [highscores v] with (item (3) of [highscores v])\n                replace item (3) of [highscores v] with (join (username) (Your Time))\n            end\n        else\n            replace item (5) of [highscores v] with (item (4) of [highscores v])\n            replace item (4) of [highscores v] with (join (username) (Your Time))\n        end\n    else\n        replace item (5) of [highscores v] with (join (username) (Your Time))\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [236]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-190) y: (-113)\n    end\nend\n\nwhen flag clicked\ngo to x: (-138) y: (-42)\nforever\n    change [y v] by (-0.5)\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        if <touching color (#000008)?> then\n            change y by (1)\n            if <touching color (#000008)?> then\n                change y by (1)\n                if <touching color (#000008)?> then\n                    change y by (1)\n                    if <touching color (#000008)?> then\n                        change y by (1)\n                        if <touching color (#000008)?> then\n                            change y by (1)\n                            if <touching color (#000008)?> then\n                                change y by (-6)\n                                if <key (up arrow v) pressed?> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#000008)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#000008)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\nend\n\nwhen flag clicked\nset size to (25) %\ngo to x: (-209) y: (-140)\nshow\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-209) y: (-140)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-209) y: (-140)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop1 v]\ngo to x: (-209) y: (-138)\nshow\n\nwhen flag clicked\nset [your time v] to [0]\n\nwhen flag clicked\nshow list [highscores v]\n\n@Sprite2\n\nwhen flag clicked\nswitch backdrop to (backdrop22 v)\ngo to x: (-1) y: (-48)\nshow\n\nwhen this sprite clicked\nswitch backdrop to (backdrop1 v)\nhide\n\nwhen flag clicked\nhide variable [your time v]\n\nwhen backdrop switches to [backdrop1 v]\nshow variable [your time v]\nforever\n    wait (1) seconds\n    change [your time v] by (1)\n    if <(backdrop [number v]) = [33]> then\n        stop [this script v]\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nhide variable [your time v]\nhide\n\nwhen backdrop switches to [backdrop32 v]\ngo to x: (-262) y: (66)\nshow\n\nwhen backdrop switches to [backdrop25 v]\ngo to x: (154) y: (-81)\nshow\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        broadcast (message1 v)\n        hide\n    end\nend\n\nwhen I receive [intro finished v]\nshow variable [your time v]\n\n@Sprite4\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (185) y: (168)\n\nwhen I receive [message1 v]\nnext costume\n\n@Intro\n\nwhen flag clicked\nhide variable [your time v]\nset [ghost v] effect to (0)\ngo to [front v] layer\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nshow\nwait (1) seconds\nrepeat (38)\n    wait (0.025) seconds\n    next costume\nend\nwait (1) seconds\nrepeat (16)\n    wait (0.025) seconds\n    next costume\nend\nwait (1) seconds\nset [ghost v] effect to (0)\nrepeat (50)\n    change [ghost v] effect by (5)\nend\nbroadcast (intro finished v)\n\n