Trolled (A Platformer)

Instructions: Make sure you read all of this----there is level solutions if you need them (which you probably will)\nThanks for all the loves! Will start working on part 2 soon.\nArrow keys to move. You can jump on black. You can also wall jump on black. Don't touch red or you die. Touch light blue to advance to the next level.\nThis game is VERY rage inducing and you WILL get trolled, so that's why i have level solutions.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nLEVEL SOLUTIONS: (Don't read unless you're stuck)\nLevel one: Just jump on the words and touch the blue.\nLevel two: Jump on the edges of the black line.\nLevel three: There is a spot in the lava that wont kill you. Go there and jump on the words.\nLevel four: There is a tiny spot you can jump on to reach the portal\nLevel five: Jump into the words instead of the portals.\nLevel six: Jump on the tiny dot on the left side of the screen and jump over the red line.\nLevel seven: You can go through some of the walls to make it to the portal.\nLevel eight: Don't jump through the gap. There is a portal on the floor/lava that is almost invisible. \nLevel nine: You can jump through part of the lava.\nLevel ten: There is a hidden tunnel in the ceiling.\n\n\n\n\n\n\n\n#Platformer #Trolled #Game #Games #Troll #UniquePlatformer #SmoothPlatformer #Platformers\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Risk v] until done\nend\n\nwhen backdrop switches to [backdrop11 v]\nshow variable [☁ global troll count v]\nshow variable [☁ least trolls ever v]\nshow variable [☁ most trolls ever v]\n\nwhen flag clicked\nshow variable [troll count v]\nhide variable [☁ global troll count v]\nhide variable [☁ least trolls ever v]\nhide variable [☁ most trolls ever v]\n\nwhen flag clicked\nshow variable [troll count v]\nforever\n    if <(Troll Count) > (☁ Most trolls ever)> then\n        set [☁ most trolls ever v] to (Troll Count)\n    end\nend\n\nwhen backdrop switches to [backdrop11 v]\nif <(Troll Count) < (☁ Least trolls ever)> then\n    set [☁ least trolls ever v] to (Troll Count)\nend\n\nhide variable [troll count v]\n\nshow variable [troll count v]\n\n@Player\n\nwhen flag clicked\ngo to x: (-210) y: (0)\nshow\nset size to (100) %\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.5)\n    end\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.5)\n    end\n    change x by (Xv)\n    set [xv v] to ((Xv) * (0.9))\n    if <touching color (#000000)?> then\n        change y by (0.5)\n        if <touching color (#000000)?> then\n            change y by (0.5)\n            if <touching color (#000000)?> then\n                change y by (0.5)\n                if <touching color (#000000)?> then\n                    change y by (0.5)\n                    if <touching color (#000000)?> then\n                        change y by (0.5)\n                        if <touching color (#000000)?> then\n                            change y by (0.5)\n                            if <touching color (#000000)?> then\n                                change y by (0.5)\n                                if <touching color (#000000)?> then\n                                    change y by (0.5)\n                                    if <touching color (#000000)?> then\n                                        if <key (up arrow v) pressed?> then\n                                            if <(Xv) > [0]> then\n                                                set [xv v] to [-7]\n                                            else\n                                                set [xv v] to [7]\n                                            end\n                                            set [yv v] to [10]\n                                        else\n                                            set [xv v] to ((Xv) * (-1.3))\n                                            change x by (Xv)\n                                            set [xv v] to [0]\n                                            change x by ((Xv) / (5))\n                                        end\n                                        change y by (-4)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-0.5)\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        set [yv v] to ((Yv) * (-0.25))\n        change y by (Yv)\n        if <touching color (#000000)?> then\n            change y by (Yv)\n            if <touching color (#000000)?> then\n                change y by (Yv)\n                if <touching color (#000000)?> then\n                    change y by (Yv)\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching color (#000000)?> and <key (up arrow v) pressed?>> then\n        set [yv v] to [10]\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nset [troll count v] to [0]\nforever\n    if <touching color (#ff0000)?> then\n        change [troll count v] by (1)\n        Death (x position) (y position)\n    end\nend\n\ndefine Death (x) (y)\nchange [☁ global troll count v] by (1)\nbroadcast (Death v)\nhide\nwait (1) seconds\nshow\ngo to x: (x) y: (y)\nglide (0.2) secs to x: (-210) y: (0)\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (15)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    if <<touching (lvl 1 portal v)?> or <<touching (lvl 2 portal v)?> or <<touching (lvl 3 portal v)?> or <<touching (lvl 4 portal v)?> or <<touching (lvl 5 portal v)?> or <<touching (lvl 6 portal v)?> or <<touching (lvl 7 portal v)?> or <<touching (lvl 8 portal v)?> or <<touching (lvl 9 portal v)?> or <touching (lvl 10 portal v)?>>>>>>>>>> then\n        next backdrop\n        go to x: (-210) y: (0)\n    end\nend\n\n@Particles\n\ndefine Generate Particles\npoint in direction (pick random (0) to (360))\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (2))\nset [ghost v] effect to (0)\nshow\nrepeat (pick random (25) to (50))\n    move (4) steps\n    change [ghost v] effect by (15)\nend\ndelete this clone\n\nrepeat (20)\n    change y by (-5)\nend\n\nrepeat (10)\n    change y by (-4)\nend\nrepeat (10)\n    change y by (-4)\nend\n\nwhen I receive [death v]\ngo to (player v)\nrepeat (10)\n    Generate Particles\nend\n\n@Lvl 1 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@Lvl 2 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [2]> then\n        show\n    else\n        hide\n    end\nend\n\n@Lvl 1 Fake Portal\n\nwhen I receive [you thought v]\nsay [You Thought] for (2) seconds\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@Lvl 3 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\n@Lvl 4 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\n@Lvl 5 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\n@Lvl 6 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\n@Lvl 7 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [7]> then\n        show\n    else\n        hide\n    end\nend\n\n@Lvl 8 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [8]> then\n        show\n        set [ghost v] effect to (90)\n    else\n        hide\n    end\nend\n\n@Lvl 9 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [9]> then\n        show\n    else\n        hide\n    end\nend\n\n@Lvl 10 Portal\n\nwhen flag clicked\nshow\nforever\n    if <(backdrop [number v]) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite1\n\nwhen [t v] key pressed\nif <(username) = [CosmicLightningLord]> then\n    hide variable [troll count v]\n    show\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\n