shrek platformer

Instructions: arrows to move space or top arrow to jump T for thug type H for Trump\nalso, you can use awsd now\n

@Stage\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [xv v] by (1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\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 ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (space v) pressed?> or <key (w v) pressed?>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <<key (space v) pressed?> or <key (w v) pressed?>>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset size to (100) %\nswitch backdrop to (backdrop1 v)\ngo to x: (-245) y: (10)\nforever\n    if <<touching color (#ff0000)?> or <touching (maxresdefault \(3\) v)?>> then\n        start sound [oof v]\n        go to x: (-245) y: (10)\n    end\n    if <<(x position) > [245]> or <<touching color (#841d99)?> and <touching (sprite9 v)?>>> then\n        broadcast (hide v)\n        go to x: (-245) y: (10)\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        stop all sounds\n        play sound [shrek anthem.mp3 v] until done\n    end\nend\n\nwhen backdrop switches to [backdrop13 v]\nchange x by (20)\n\nwhen flag clicked\nforever\n    if <touching color (#003fff)?> then\n        set size to (100) %\n        change y by (70)\n    end\n    if <touching color (#ff9400)?> then\n        set size to (30) %\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nset size to (100) %\n\nwhen backdrop switches to [backdrop13 v]\nset size to (30) %\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        play sound [Shrek - All Star v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (t v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nif <(backdrop [number v]) = [13]> then\n    stop all sounds\nend\n\nwhen backdrop switches to [backdrop13 v]\nplay sound [Denzel Curry - Ultimate \(Clean\) \(Radio Edit\).mp3 v] until done\n\nwhen flag clicked\nforever\n    if <key (h v) pressed?> then\n        switch costume to (trump_angry v)\n    end\n    if <(costume [number v]) = [3]> then\n        stop all sounds\n        play sound [THE DONALD TRUMP RAP.mp3 v] until done\n    end\nend\n\nwhen flag clicked\nreset timer\nset [personal speed record v] to [0]\nhide variable [☁ speed record v]\nhide variable [personal speed record v]\nforever\n    if <not <(backdrop [number v]) = [13]>> then\n        set [personal speed record v] to (timer)\n    end\nend\n\nwhen backdrop switches to [backdrop13 v]\nshow variable [☁ speed record v]\nshow variable [personal speed record v]\nif <(personal speed record) < (☁ speed record)> then\n    set [☁ speed record v] to (personal speed record)\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\nforever\n    turn left (15) degrees\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop6 v]\ngo to x: (9) y: (5)\nshow\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (-26) y: (-53)\nhide\nforever\n    turn right (2) degrees\nend\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nshow\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nhide\ngo to x: (78) y: (-57)\npoint in direction (150)\nturn right (5) degrees\nforever\n    repeat (20)\n        turn left (5) degrees\n    end\n    repeat (20)\n        turn right (5) degrees\n    end\nend\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nshow\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\n@Sprite5\n\nwhen flag clicked\ngo to x: (199) y: (-21)\nhide\n\nwhen backdrop switches to [backdrop10 v]\nshow\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\n@Sprite6\n\nwhen backdrop switches to [backdrop11 v]\nshow\n\nwhen flag clicked\nhide\nforever\n    glide (1) secs to x: ([x position v] of [sprite1 v]) y: ([y position v] of [sprite1 v])\nend\n\nwhen backdrop switches to [backdrop12 v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        glide (1) secs to x: (pick random (-240) to (240)) y: (pick random (-180) to (180))\n    end\nend\n\n@Sprite7\n\nwhen flag clicked\ngo to x: (72) y: (-34)\nhide\nforever\n    turn right (2) degrees\nend\n\nwhen backdrop switches to [backdrop13 v]\nshow\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Sprite8\n\nwhen flag clicked\ngo to x: (-66) y: (-78)\nhide\nforever\n    turn left (2) degrees\nend\n\nwhen backdrop switches to [backdrop13 v]\nshow\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@maxresdefault (3)\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nwait (pick random (10) to (30)) seconds\nshow\nstart sound [recording1 v]\nrepeat (20)\n    change x by (pick random (-10) to (10))\n    change y by (pick random (-10) to (10))\nend\nhide\n\n