NIGHT- A PLATFORMER

Instructions: MY FIRST PLATFORMER!!!\n-----------------------------------------------------------------\nPlease don't say it is bad, it is my first one made.\n-----------------------------------------------------------------\nRemember too like and favourite!!!\n-----------------------------------------------------------------\nANOTHER COOL GAME ----------------> https://scratch.mit.edu/projects/627645258/\n—-——\nNew platformer game coming soon!!!\n-----------------------------------------------------------------\nCredit to griffpatch \n-----------------------------------------------------------------\nSTORY\nYou have to find your way back home\n-----------------------------------------------------------------\nHOW TO PLAY\n WASD to move\n-----------------------------------------------------------------\nLIKE AND FAVOURITE, GO FOLLOW ME! THANKS!\nPLAY ON turbowarp.org\n-------------------------__-------------------------------------\nPART 2 IS OUT!!!! https://scratch.mit.edu/projects/644490763/\nAlso Thx for 800+ views

@Stage\n\n@Sprite3\n\n@Player\n\nwhen flag clicked\nReset and Begin Level\nset [gravity v] to [-1.5]\nset [jump force v] to [15]\nset [acceleraton v] to [1.5]\nset [resistance v] to [0.8]\nset [speed y v] to [0]\ngo to x: (-159) y: (2)\nforever\n    if  then\n        if <(falling) < [5]> then\n            set [speed y v] to (JUMP FORCE)\n            switch costume to (up v)\n        end\n    end\n    if  then\n        change [speed x v] by ((0) - (ACCELERATON))\n        switch costume to (middle v)\n    end\n    if  then\n        change [speed x v] by (ACCELERATON)\n        switch costume to (side v)\n    end\n    set [speed x v] to ((speed x) * (RESISTANCE))\n    change [speed y v] by (GRAVITY)\n    Move- in steps (([abs v] of (speed y) ) + ([abs v] of (speed x) ))\nend\n\ndefine Move- in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((speed x) / (steps))\n    Check Touching Solid\n    if <(touching) > [0]> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((speed y) / (steps))\n    Check Touching Solid\n    if <(touching) > [0]> then\n        set y to (last value)\n        if <(speed y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\ndefine Check Touching Solid\nif <touching (level v)?> then\n    set [touching v] to [1]\nelse\n    set [touching v] to [0]\nend\n\ndefine Reset and Begin Level\nset [scene # v] to [1]\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [falling v] to [99]\ngo to x: (-159) y: (2)\nbroadcast (Change Scene v) and wait\nbroadcast (Game Loop v)\nbroadcast (again v)\nbroadcast (hide fella v)\nbroadcast (just someting v)\nswitch costume to (middle v)\nswitch backdrop to (stars v)\n\nwhen I receive [game loop v]\nforever\n    broadcast (Tick-Player v)\n    broadcast (Tick-Last v)\nend\n\nwhen I receive [tick-last v]\nif <(x position) > [235]> then\n    change [scene # v] by (1)\n    broadcast (Change Scene v)\n    broadcast (SECOND MOON COME OUT v)\n    broadcast (danger go different v)\n    go to x: (-235) y: (-45)\n    switch backdrop to (stars v)\n    broadcast (kayo v) and wait\nend\n\nwhen flag clicked\nforever\n    if <touching (danger v)?> then\n        glide (0.05) secs to x: (-159) y: (2)\n        start sound [Zoop v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (10020 v)?> then\n        glide (0.05) secs to x: (-159) y: (2)\n        start sound [Zoop v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite2 v)?> then\n        glide (0.05) secs to x: (-159) y: (2)\n        start sound [Zoop v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite4 v)?> then\n        broadcast (GOOOOOO v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite4 v)?> then\n        glide (0.05) secs to x: (-159) y: (2)\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <touching (black water v)?> then\n        glide (0.05) secs to x: (-159) y: (2)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [BlueSky92]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [yehchan]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [ninja_fights]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Xx20Dat_Boi09xX ]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [TheComputorBoss9776 ]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [TWCBruh ]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [screwing_upyourmind]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [AlphaProjects]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [Calypso142]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [KeenanG4]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [clarastarlet]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<key (d v) pressed?> or <<key (a v) pressed?> or <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<key (left arrow v) pressed?> or >>>>>> then\n        switch costume to (middle v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(username) = [-TotalAwesomeGuy-]> then\n        broadcast (Banned! v)\n        stop [all v]\n    end\nend\n\n@level\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\n\nwhen I receive [change scene v]\nnext costume\n\nswitch costume to (join [Scene] (SCENE #))\n\nwhen flag clicked\nforever\n    if <(SCENE #) > [2]> then\n        broadcast (ya yeety v) and wait\n    end\nend\n\nwhen I receive [just someting v]\nswitch costume to (scene1 v)\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\nshow\nwait (1) seconds\nset [ghost v] effect to (60)\nchange [ghost v] effect by (-30)\nwait (0.08) seconds\nhide\n\n@Danger\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (22) y: (46)\nshow\n\nwhen I receive [danger go different v]\nhide\n\n@Moon 2Sprite2\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen I receive [second moon come out v]\nshow\n\nwhen I receive [hide fella v]\nhide\n\n@10020\n\nwhen I receive [again v]\nhide\n\nwhen I receive [kayo v]\nshow\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen I receive [ya yeety v]\nhide\n\n@Sprite2\n\nwhen I receive [hide fella v]\nhide\n\nwhen I receive [second moon come out v]\nshow\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen I receive [ya yeety v]\nhide\n\n@music i guess\n\nwhen flag clicked\nplay sound [LAKEY INSPIRED - Blossom v] until done\n\n@Sprite4\n\nwhen flag clicked\nforever\n    if <(SCENE #) < [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(SCENE #) > [2]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(SCENE #) > [3]> then\n        hide\n    end\nend\n\n@TN\n\nwhen flag clicked\nhide\n\nshow\n\n@BLACK WATER\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(SCENE #) > [3]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(SCENE #) < [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(SCENE #) > [4]> then\n        hide\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\nhide\n\nwhen I receive [banned! v]\ngo to [front v] layer\nshow\n\n@Thanks\n\nwhen flag clicked\nswitch costume to (- v)\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nshow\nset size to (0) %\nrepeat until <(size) > [119]>\n    change size by (((120) - (size)) / (8))\n    change [ghost v] effect by (-25)\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [thx fav v]\nif <(costume [name v]) = [-]> then\n    go to x: (0) y: (-150)\n    switch costume to (fav v)\n    create clone of (_myself_ v)\n    switch costume to (- v)\nend\n\nwhen I receive [thx love v]\nif <(costume [name v]) = [-]> then\n    go to x: (0) y: (-100)\n    switch costume to (love v)\n    create clone of (_myself_ v)\n    switch costume to (- v)\nend\n\n@Detector\n\ndefine Touching love or fav button?\nswitch costume to (love v)\nif <touching (mouse-pointer v)?> then\n    if <<(mouse x) < [-88]> and <(mouse x) > [-240]>> then\n        switch costume to (fav v)\n        if <touching (mouse-pointer v)?> then\n            set [touching fav button? v] to [true]\n            set [touching love button? v] to [false]\n        else\n            set [touching fav button? v] to [false]\n            set [touching love button? v] to [true]\n        end\n    else\n        set [touching fav button? v] to [false]\n        set [touching love button? v] to [false]\n    end\nelse\n    set [touching fav button? v] to [false]\n    set [touching love button? v] to [false]\nend\n\nwhen I receive [start now! v]\nset size to (0) %\ngo to x: (0) y: (0)\nset size to (100) %\nforever\n    Touching love or fav button?\nend\n\nwhen I receive [start now! v]\nset [countdown love v] to [20]\nforever\n    if <(touching love button?) = [true]> then\n        change [countdown love v] by (-1)\n        if <(Countdown love) = [0]> then\n            broadcast (thx love v)\n            stop [this script v]\n        end\n    else\n        if <<(touching love button?) = [false]> and <(Countdown love) < [12]>> then\n            broadcast (thx love v)\n            stop [this script v]\n        end\n        set [countdown love v] to [20]\n    end\nend\n\nwhen I receive [start now! v]\nset [touching fav button? v] to [20]\nforever\n    if <(touching fav button?) = [true]> then\n        change [countdown fav v] by (-1)\n        if <(Countdown fav) = [0]> then\n            broadcast (thx fav v)\n            stop [this script v]\n        end\n    else\n        if <<(touching fav button?) = [false]> and <(Countdown fav) < [12]>> then\n            broadcast (thx fav v)\n            stop [this script v]\n        end\n        set [countdown fav v] to [20]\n    end\nend\n\nwhen flag clicked\nbroadcast (Start NOW! v)\n\n