Adventure || A Platformer

Instructions: NOT THAT HARD!!\n=========================================\nDon't you think this deserves a ❤ and/or⭐? Maybe even a follow?\n=========================================\n          -----------------------Story-------------------------\nOne day, you wake up in the middle of nowhere with no memory of how you got there. All you remember is where your house is and that you have to make it back as soon as possible.\n         -----------------------Controls-------------------------\nArrow Keys or WAD to move and to Jump\nMobile Friendly\nPress Space to restart a Level \n          -----------------------Objective-----------------------\nAvoid Spikes\nGet To The End\nAll the levels are possible (maybe not on mobile)!!!!!!!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nHelp me get to 100 followers.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nAnd then 150

@Stage\n\nwhen flag clicked\nswitch costume to (intro v)\n\n@Player\n\nwhen I receive [go v]\nforever\n    if <not <<<(backdrop [number v]) = [12]> or <(backdrop [number v]) = [13]>> or <<<(backdrop [number v]) = [14]> or <(backdrop [number v]) = [15]>> or <(backdrop [number v]) = [16]>>>> then\n        create clone of (fade of player v)\n        wait (.05) seconds\n    end\nend\n\nwhen I receive [go v]\nshow variable [timer v]\ngo to [front v] layer\ngo [forward v] (999999999999) layers\nset [brightness v] effect to (10)\ngo to x: (-214) y: (115)\nswitch costume to (costume3 v)\nswitch backdrop to (next backdrop v)\nshow\ngo to x: (-217) y: (-20)\nhide variable [x vel v]\nhide variable [y vel v]\nset [y vel v] to [0]\nset [x vel v] to [0]\nforever\n    change [y vel v] by (-1)\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <(left key pressed) = [1]>>> then\n        change [x vel v] by (-.9)\n        switch costume to (costume2 v)\n        go to [front v] layer\n    end\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <(right key pressed) = [1]>>> then\n        change [x vel v] by (.9)\n        switch costume to (costume1 v)\n        go to [front v] layer\n    end\n    if <not <<<key (right arrow v) pressed?> or <<key (d v) pressed?> or <(right key pressed) = [1]>>> or <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <(left key pressed) = [1]>>>>> then\n        switch costume to (costume3 v)\n        go to [front v] layer\n    end\n    set [x vel v] to ((x vel) * (.9))\n    change x by (x vel)\n    if <touching (ground v)?> then\n        change y by (.5)\n    end\n    if <touching (ground v)?> then\n        change y by (.5)\n    end\n    if <touching (ground v)?> then\n        change y by (.5)\n    end\n    if <touching (ground v)?> then\n        change y by (.5)\n    end\n    if <touching (ground v)?> then\n        change y by (-3)\n        change x by ((x vel) * (-1))\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <(up key pressed) = [1]>>> then\n            set [y vel v] to [12]\n            if <(x vel) > [0]> then\n                set [x vel v] to [-10]\n            else\n                set [x vel v] to [10]\n            end\n        else\n            set [x vel v] to [0]\n        end\n    end\n    change y by (y vel)\n    if <touching (ground v)?> then\n        change y by ((y vel) - ((y vel) * (2)))\n        set [y vel v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<key (w v) pressed?> or <(up key pressed) = [1]>>> and <touching (ground v)?>> then\n        set [y vel v] to [12]\n    end\n    change y by (1)\n    if <<touching (spikes v)?> or <(y position) = [-187]>> then\n        go to x: (-217) y: (-20)\n        set [x vel v] to [0]\n        set [y vel v] to [0]\n    end\n    if <(x position) > [222]> then\n        if <not <(backdrop [number v]) = [18]>> then\n            switch backdrop to (next backdrop v)\n            go to x: (-217) y: (-20)\n            broadcast (Next Level v)\n            set [x vel v] to [0]\n        end\n    end\n    if <key (space v) pressed?> then\n        go to x: (-217) y: (-20)\n    end\n    if <touching (jump v)?> then\n        set [y vel v] to [20]\n    end\nend\n\nwhen I receive [start v]\nshow variable [☁ fastest time v]\ngo to [front v] layer\nswitch backdrop to (backdrop1 v)\nset [brightness v] effect to (10)\nswitch costume to (costume3 v)\ngo to x: (4) y: (54)\nshow\n\nwhen flag clicked\nset [☁ fastest time v] to (☁ Fastest Time)\nhide variable [☁ fastest time v]\nhide variable [timer v]\nhide\ngo to [front v] layer\n\nwhen I receive [go v]\nshow variable [timer v]\nhide variable [☁ fastest time v]\nreset timer\nrepeat until <(backdrop [number v]) = [18]>\n    set [timer v] to (timer)\nend\nif <(Timer) < (☁ Fastest Time)> then\n    set [☁ fastest time v] to (Timer)\n    say (join [You got the Fastest Time of  ] (☁ Fastest Time)) for (10) seconds\nend\n\n@Play\n\nwhen this sprite clicked\nrepeat (7)\n    change [brightness v] effect by (5)\nend\nset [brightness v] effect to (0)\nhide\nbroadcast (go v)\n\nwhen I receive [start v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\nhide\n\n@Mute\n\nwhen this sprite clicked\nnext costume\nrepeat (5)\n    change [brightness v] effect by (4)\nend\nset [brightness v] effect to (0)\n\nwhen I receive [start v]\ngo to [front v] layer\nswitch costume to (1 v)\nset size to (85) %\nforever\n    if <(costume [name v]) = [1]> then\n        set volume to (100) %\n    end\n    if <(costume [name v]) = [2]> then\n        set volume to (0) %\n    end\n    if <(backdrop [number v]) = [1]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [start v]\nwait (1) seconds\nforever\n    play sound [Vexento - Pixel Party v] until done\nend\n\nwhen flag clicked\nhide\n\n@Jump\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\nswitch costume to (costume1 v)\nhide\nset [ghost v] effect to (0)\nforever\n    if <touching (player v)?> then\n        switch costume to (costume2 v)\n        wait (.1) seconds\n        switch costume to (costume1 v)\n    else\n        switch costume to (costume1 v)\n    end\n    if <(backdrop [number v]) = [2]> then\n        hide\n    end\n    if <(backdrop [number v]) = [3]> then\n        show\n        go to x: (0) y: (-81)\n    end\n    if <(backdrop [number v]) = [4]> then\n        hide\n    end\n    if <(backdrop [number v]) = [6]> then\n        show\n        go to x: (-55) y: (-81)\n        create clone of (_myself_ v)\n    end\n    if <(backdrop [number v]) = [7]> then\n        hide\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\ngo to x: (120) y: (-81)\nshow\nset [ghost v] effect to (100)\nforever\n    if <touching (player v)?> then\n        switch costume to (costume2 v)\n        wait (.1) seconds\n    else\n        switch costume to (costume1 v)\n    end\n    if <<(backdrop [number v]) > [6]> or <(backdrop [number v]) < [6]>> then\n        hide\n        delete this clone\n    end\nend\n\n@TB\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [go v]\nshow\ngo to x: (0) y: (0)\ngo to [back v] layer\ngo [forward v] (2) layers\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\nshow\ngo to x: (0) y: (0)\nswitch costume to (costume v)\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [next level v]\nnext costume\n\n@TurboTrap\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    go [forward v] (9999) layers\n    set [turbotrap v] to [0]\n    wait (0.0001) seconds\n    say []\n    if <(turbotrap) > [100]> then\n        switch costume to (pick random (1) to (2))\n        forever\n            show\n            go to [front v] layer\n            go [forward v] (9999) layers\n            stop [all v]\n        end\n    else\n        hide\n    end\n    go to [front v] layer\n    go [forward v] (9999) layers\nend\n\nwhen flag clicked\nforever\n    change [turbotrap v] by (99)\nend\n\n@Light\n\nwhen flag clicked\nhide\ngo to [back v] layer\ngo [backward v] (999999999999999) layers\nforever\n    go to (player v)\n    if <(backdrop [number v]) = [12]> then\n        show\n    end\n    if <(backdrop [number v]) = [17]> then\n        hide\n    end\nend\n\n@Fade of Player\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to [back v] layer\ngo to (player v)\nshow\nset size to (100) %\nset [ghost v] effect to (0)\nrepeat (15)\n    change size by (-4)\n    change [ghost v] effect by (5)\n    change [color v] effect by (25)\nend\ndelete this clone\n\n@clouds\n\nwhen I start as a clone\nshow\nswitch costume to (pick random (1) to (5))\nset [x cloud v] to (pick random (-1) to (-3))\nset [ghost v] effect to (pick random (50) to (75))\nset size to (pick random (20) to (100)) %\nset y to (pick random (130) to (160))\nset x to (220)\nrepeat until <(x position) < [-200]>\n    change x by (x cloud)\nend\ndelete this clone\n\nwhen I receive [go v]\nhide\nforever\n    if <not <<<(backdrop [number v]) = [12]> or <(backdrop [number v]) = [13]>> or <<<(backdrop [number v]) = [14]> or <(backdrop [number v]) = [15]>> or <(backdrop [number v]) = [16]>>>> then\n        create clone of (_myself_ v)\n        wait (pick random (1) to (2)) seconds\n    end\nend\n\n@Mobile Mode\n\nwhen this sprite clicked\nrepeat (7)\n    change [brightness v] effect by (5)\nend\nset [brightness v] effect to (0)\nhide\nset [mobile? v] to [1]\nbroadcast (go v)\n\nwhen I receive [start v]\nset size to (100) %\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nhide\nset [mobile? v] to [0]\n\nwhen I receive [go v]\nhide\n\n@Joy\n\nwhen flag clicked\nhide\nset [left key pressed v] to [0]\nset [right key pressed v] to [0]\nset [down key pressed v] to [0]\nset [down key pressed v] to [0]\n\nwhen I receive [go v]\ngo to x: (-190) y: (0)\nset [left key pressed v] to [0]\nset [right key pressed v] to [0]\nset [down key pressed v] to [0]\nset [down key pressed v] to [0]\nshow\nset [ghost v] effect to (25)\ngo to [front v] layer\nforever\n    go to x: (-190) y: (-140)\n    set [left key pressed v] to [0]\n    set [right key pressed v] to [0]\n    set [up key pressed v] to [0]\n    set [down key pressed v] to [0]\n    if <(Mobile?) = [0]> then\n        hide\n        stop [this script v]\n    end\n    if <mouse down?> then\n        go to x: (-190) y: (-140)\n        point towards (mouse-pointer v)\n        move (28) steps\n        if <<(direction) > [-60]> and <(direction) < [60]>> then\n            set [up key pressed v] to [1]\n        else\n            if <<(direction) < [-120]> or <(direction) > [120]>> then\n                set [down key pressed v] to [1]\n            end\n        end\n        if <<(direction) > [30]> and <(direction) < [150]>> then\n            set [right key pressed v] to [1]\n        else\n            if <<(direction) > [-150]> and <(direction) < [-30]>> then\n                set [left key pressed v] to [1]\n            end\n        end\n    end\nend\n\n@Stick\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\ngo to x: (-190) y: (-140)\nshow\nset [ghost v] effect to (25)\ngo to [front v] layer\nif <(Mobile?) = [0]> then\n    hide\nend\n\n@Intro\n\nwhen flag clicked\nswitch backdrop to (intro v)\nswitch costume to (cool text - s690889 355369787354229 v)\npoint in direction (90)\ngo to x: (0) y: (0)\nset size to (1) %\nshow\nrepeat (3)\n    change size by (20)\nend\nchange [color v] effect by (0)\nrepeat (3)\n    point in direction (90)\n    repeat (4)\n        change size by (20)\n        change [color v] effect by (5)\n        turn right (5) degrees\n    end\n    repeat (4)\n        change size by (5)\n        change [color v] effect by (5)\n        turn right (2) degrees\n    end\n    wait (.12) seconds\n    repeat (4)\n        change size by (-20)\n        change [color v] effect by (5)\n        turn right (-5) degrees\n    end\n    repeat (4)\n        change size by (-5)\n        change [color v] effect by (5)\n        turn right (-5) degrees\n    end\n    wait (.12) seconds\nend\nwait (.12) seconds\nrepeat (12)\n    change size by (10)\n    change [color v] effect by (-5)\n    turn right (-15) degrees\nend\nrepeat (12)\n    change size by (-5)\n    change [color v] effect by (-5)\n    turn right (-15) degrees\nend\nset size to (100) %\npoint in direction (90)\nrepeat (3)\n    point in direction (90)\n    repeat (4)\n        change size by (20)\n        change [color v] effect by (5)\n        turn right (5) degrees\n    end\n    repeat (4)\n        change size by (5)\n        change [color v] effect by (5)\n        turn right (2) degrees\n    end\n    wait (.1) seconds\n    repeat (4)\n        change size by (-20)\n        change [color v] effect by (5)\n        turn right (-5) degrees\n    end\n    repeat (4)\n        change size by (-5)\n        change [color v] effect by (5)\n        turn right (-5) degrees\n    end\n    wait (.1) seconds\nend\nrepeat (2)\n    wait (.09) seconds\n    point in direction (90)\n    repeat (4)\n        change size by (20)\n        change [color v] effect by (5)\n        turn right (5) degrees\n    end\n    repeat (4)\n        change size by (5)\n        change [color v] effect by (5)\n        turn right (2) degrees\n    end\n    wait (.1) seconds\n    repeat (4)\n        change size by (-20)\n        change [color v] effect by (5)\n        turn right (-5) degrees\n    end\n    repeat (4)\n        change size by (-5)\n        change [color v] effect by (5)\n        turn right (-5) degrees\n    end\n    wait (.1) seconds\n    wait (.12) seconds\n    repeat (12)\n        change size by (10)\n        change [color v] effect by (-5)\n        turn right (-15) degrees\n    end\n    repeat (12)\n        change size by (-10)\n        change [color v] effect by (-5)\n        turn right (-15) degrees\n    end\n    set size to (100) %\n    point in direction (90)\nend\nrepeat (3)\n    repeat (4)\n        change size by (20)\n        change [color v] effect by (5)\n        turn right (5) degrees\n    end\n    repeat (4)\n        change size by (5)\n        change [color v] effect by (5)\n        turn right (2) degrees\n    end\n    wait (.1) seconds\n    repeat (4)\n        change size by (-20)\n        change [color v] effect by (5)\n        turn right (-5) degrees\n    end\n    repeat (4)\n        change size by (-5)\n        change [color v] effect by (5)\n        turn right (-5) degrees\n    end\n    wait (.1) seconds\n    wait (.12) seconds\nend\nrepeat (12)\n    change size by (10)\n    change [color v] effect by (-5)\n    turn right (-15) degrees\nend\nrepeat (12)\n    change [color v] effect by (-5)\n    change [ghost v] effect by (10)\n    change size by (-10)\n    turn right (-15) degrees\nend\nset size to (100) %\npoint in direction (90)\nset [color v] effect to (0)\nswitch costume to (s690889 v)\nrepeat (10)\n    change [ghost v] effect by (-10)\n    wait (.05) seconds\nend\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (.05) seconds\nend\nbroadcast (Start v)\n\nwhen I start as a clone\nrepeat (8)\n    change [color v] effect by (5)\n    change size by (-7)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nplay sound [s690889's new intro v] until done\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [endintro v]\nhide\nstop [other scripts in sprite v]\nbroadcast (Start v)\n\n@End Intro\n\nwhen flag clicked\nshow\n\nwhen I receive [start v]\nhide\n\nwhen this sprite clicked\nbroadcast (EndIntro v)\nhide\n\n