Mr. Monnee (a platformer)

Instructions: click the green flag and make me money\n\nwatch this first https://scratch.mit.edu/projects/265659047/editor/

@Stage\n\nwhen flag clicked\nforever\n    play sound [Showdown v] until done\nend\n\nwhen backdrop switches to [backdrop d1 v]\n\nwhen flag clicked\nclear graphic effects\nshow\nswitch backdrop to (backdrop1 v)\n\n@Sprite1\n\nwhen I receive [pic v]\nswitch costume to (table with businessmen v)\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\n\nbroadcast (pic v)\n\nwhen flag clicked\nhide\n\n@tha floor\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nshow\nclear graphic effects\nswitch costume to (costume1 v)\npoint in direction (90)\n\npoint in direction (90)\n\nrepeat (2)\n\nwhen I receive [weird v]\nclear graphic effects\nrepeat (30)\n    change [fisheye v] effect by (25)\n    change [whirl v] effect by (25)\nend\nrepeat (60)\n    change [fisheye v] effect by (-30)\n    change [whirl v] effect by (-30)\nend\nrepeat (30)\n    change [fisheye v] effect by (25)\n    change [whirl v] effect by (25)\nend\nset [weird v] to [0]\n\nforever\n\nclear graphic effects\npoint in direction (90)\ngo to x: (0) y: (0)\n\nforever\n\nwhen I receive [pic v]\nstop [other scripts in sprite v]\nhide\n\n@Tha bad stuff\n\nwhen flag clicked\npoint in direction (90)\nclear graphic effects\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next v]\nnext costume\nif <(backdrop [name v]) = [reg]> then\n    go to x: (136) y: (267)\n    hide\n    wait (1.5) seconds\n    show\n    glide (0.1) secs to x: (136) y: (-44)\n    wait (2) seconds\n    glide (1) secs to x: (136) y: (267)\n    hide\nelse\n    if <(backdrop [name v]) = [?]> then\n        show\n        point in direction (90)\n        go to x: (0) y: (0)\n        wait (0.5) seconds\n        go to x: (0) y: (0)\n        point in direction (90)\n        repeat (12)\n            change [color v] effect by (25)\n            turn left (30) degrees\n        end\n        repeat (6)\n            change [color v] effect by (25)\n            turn left (30) degrees\n            change x by (-10)\n            change y by (-20)\n        end\n        clear graphic effects\n    else\n        point in direction (90)\n        clear graphic effects\n        show\n        go to x: (0) y: (0)\n    end\nend\n\nhide\n\nglide (0.1) secs to x: (136) y: (-44)\nwait (2) seconds\nglide (1) secs to x: (136) y: (267)\nhide\n\ngo to x: (0) y: (0)\n\nwhen I receive [pic v]\nstop [other scripts in sprite v]\nhide\n\n@LIGHTNING MCQUEEN\n\nwhen I receive [yes yes yes v]\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nswitch costume to (rust-eze v)\ngo to x: (13) y: (58)\nwait (3) seconds\nhide\ndelete this clone\n\nwhen backdrop switches to [?2 v]\nwait (1) seconds\nswitch costume to ( lighting mcqueen here v)\ngo to x: (306) y: (-90)\nshow\nstart sound [Lightning McQueen here! v]\nglide (0.2) secs to x: (-23) y: (-90)\nwait (2.7) seconds\ncreate clone of (_myself_ v)\nwait (3) seconds\nglide (0.2) secs to x: (-295) y: (-90)\nhide\n\n@HEY!!!!\n\nwhen flag clicked\nbroadcast (start v)\nhide\n\ndefine scripts part 1\nif <(CaR?) = [1]> then\n    switch costume to (car v)\nelse\n    switch costume to (hitbox v)\nend\nif <<(mobile?) = [1]> and <key (right arrow v) pressed?>> then\n    if <(CaR?) = [1]> then\n        point in direction (90)\n        change [xv2 v] by (3)\n    else\n        point in direction (90)\n        change [xv2 v] by (1)\n    end\nend\nif <<(mobile?) = [1]> and <key (left arrow v) pressed?>> then\n    if <(CaR?) = [1]> then\n        point in direction (90)\n        change [xv2 v] by (-3)\n    else\n        point in direction (-90)\n        change [xv2 v] by (-1)\n    end\nend\nset [xv2 v] to ((Xv2) * (0.9))\nchange x by (Xv2)\n\ndefine scripts part 2\nif <touching (tha floor v)?> then\n    change y by (1)\n    if <touching (tha floor v)?> then\n        change y by (1)\n        if <touching (tha floor v)?> then\n            change y by (1)\n            if <touching (tha floor v)?> then\n                change y by (1)\n                if <touching (tha floor v)?> then\n                    change y by (1)\n                    if <touching (tha floor v)?> then\n                        change x by ((Xv2) * (-1))\n                        change y by (-5)\n                        if <<(mobile?) = [1]> and <key (up arrow v) pressed?>> then\n                            if <(Xv2) > [0]> then\n                                set [xv2 v] to [-5]\n                            else\n                                set [xv2 v] to [5]\n                            end\n                            set [yv3 v] to [10]\n                            start sound [Kick Drum v]\n                        else\n                            set [xv2 v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine scripts part 3\nchange [yv3 v] by (-1)\nchange y by (Yv3)\nif <touching (tha floor v)?> then\n    change y by ((Yv3) * (-1))\n    set [yv3 v] to [0]\nend\nchange y by (-1)\nif <touching (tha floor v)?> then\n    if <<(mobile?) = [1]> and <key (up arrow v) pressed?>> then\n        set [yv3 v] to [15]\n        if <(cappy) = [2]> then\n            start sound [Kick Drum v]\n        else\n            start sound [Low Whoosh v]\n        end\n    end\nend\n\ndefine scripts part 4\nchange y by (-9)\nif <(CaR?) = [1]> then\n    switch costume to (car v)\nelse\n    if <(cappy) = [throw]> then\n        change [costume v] by (1)\n        if <(costume) < [14]> then\n            start sound [Low Whoosh v]\n            set [costume v] to [15]\n        end\n        switch costume to (round (costume))\n        if <(round (costume)) = [23]> then\n            set [costume v] to [1]\n            set [cappy v] to [0]\n        end\n    else\n        if <touching (tha floor v)?> then\n            change [costume v] by ([abs v] of ((Xv2) / (8)) )\n            if <(costume) > [8]> then\n                set [costume v] to [1]\n                start sound [Footsteps v]\n            end\n            if <(round (Xv2)) = [0]> then\n                set [costume v] to [1]\n            end\n            switch costume to (round (costume))\n        else\n            if <([abs v] of (Yv3) ) < [16]> then\n                switch costume to (lincoln \(jump1 v)\n            else\n                switch costume to (lincoln \(reg v)\n            end\n        end\n    end\nend\nchange y by (10)\n\ndefine full scripts\nscripts part 1\nscripts part 2\nscripts part 3\nscripts part 4\n\nwhen I receive [drown v]\nstop [other scripts in sprite v]\nrepeat (10)\n    change y by (Yv3)\nend\nhide\nwait (1) seconds\nbroadcast (spawn v)\n\nwhen I receive [spawn v]\ngo to x: (-216) y: (-53)\nshow\nset [mobile? v] to [1]\nset [x v] to [0]\nset [y v] to [0]\nset [xv2 v] to [0]\nset [yv3 v] to [0]\nforever\n    full scripts\n    if <touching (tha bad stuff v)?> then\n        if <(backdrop [name v]) = [8]> then\n            set [car? v] to [1]\n            broadcast (next v)\n        else\n            broadcast (DIE v)\n        end\n    end\nend\n\nwhen I receive [message1 v]\nbroadcast (spawn v)\n\nwhen I receive [snap half of humanity out of existence v]\nstop [other scripts in sprite v]\nhide\n\nchange [x v] by ((x position) * (-1))\nchange [y v] by ((y position) * (-1))\ngo to x: (0) y: (0)\n\nwhen I receive [spawn v]\nclear graphic effects\nshow\n\nrepeat (10)\n    set [yv v] to [0]\n    set [xv v] to [0]\n    if <(backdrop [name v]) = [backdrop23]> then\nend\n\nwhen I receive [start v]\nbroadcast (spawn v)\nforever\n    if <<(x position) > [235]> or <touching color (#f3ff00)?>> then\n        broadcast (next v) and wait\n    end\n    if <<(y position) < [-175]> or <<[180] < (y position)> and <(Yv) > [50]>>> then\n        wait (0) seconds\n        hide\n        play sound [explosion v] until done\n        wait (.2) seconds\n        show\n        broadcast (spawn v)\n    end\nend\n\nswitch backdrop to (next backdrop v)\n\nbroadcast (spawn v)\n\nwhen I receive [die v]\ngo to x: (-216) y: (-53)\n\nwhen flag clicked\nset [car? v] to [0]\n\nset [car? v] to [1]\n\nwhen I receive [next v]\nswitch backdrop to (next backdrop v)\nbroadcast (spawn v)\n\nbroadcast (next v)\n\nwhen backdrop switches to [slime v]\nset [car? v] to [0]\n\nwhen backdrop switches to [? v]\nbroadcast (pic v)\n\nwhen I receive [pic v]\nstop [other scripts in sprite v]\nhide\n\n@art\n\n