generic platformer #etu #expecttheunexpected

Instructions: m to mute\nYes it is Mobile friendly\n=============================================\nApril Fools!!!!\nThe day is here or past and you need to pass this platformer and try not to get trolled. It has a lot of trolls at each level so try to avoid them\n=============================================\nControls:\nw, a,s,d, or arrow keys and It is mobile friendly\nr-to reset\nq- to skip\n=============================================\nPlease enjoy this game I made all levels are possible and please give a ❤ and ⭐ and FOLLOW, please. \n\n\n\ni got in the sds lets goo

@Stage\n\nwhen I receive [green flag v]\nforever\n    play sound [Vexento-Pollen v] until done\nend\n\nwhen [m v] key pressed\nstop [other scripts in sprite v]\n\n@Player\n\ndefine Controls - Left and Right\nset [speed x v] to ((speed x) * (0.7))\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [speed x v] by (-1.5)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [speed x v] by (1.5)\nend\n\ndefine Walk (direction) (speed) max step (step)\npoint in direction (direction)\nchange x by (speed)\nchange [frame v] by (([abs v] of (speed) ) / (8))\nset [slope v] to [0]\nGet Touching <(in platforrm) = [1]>\nrepeat until <<(slope) = (step)> or <(touch) = [0]>>\n    change y by (1)\n    change [slope v] by (1)\n    Get Touching <(in platforrm) = [1]>\nend\nif <(slope) = (step)> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\n    if <<(touch) = [1]> and <(in platforrm) = [1]>> then\n        set [in platforrm v] to [2]\n        Walk (direction) (speed) max step (step)\n        if <(speed x) = [0]> then\n            set [in platforrm v] to [1]\n        end\n    else\n        if <<<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <([abs v] of (speed) ) > [3.5]>> and <(touch) > [1]>> then\n            set [speed x v] to ((-1.2) * (speed))\n            set [speed y v] to [11]\n            set [falling? v] to [6]\n            set [wall jump v] to [8]\n        else\n            set [speed x v] to [0]\n        end\n    end\nend\n\ndefine Controls - Jump, Crouch\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <<(jump key) = [0]> and <(falling?) < [3]>> then\n        set [speed y v] to [14]\n        set [falling? v] to [6]\n        set [jump key v] to [1]\n    end\nelse\n    set [jump key v] to [0]\nend\nif <key (down arrow v) pressed?> then\n    set [in platforrm v] to [2]\nend\n\ndefine Gravity\nif <<(speed y) < [4]> or <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n    change [speed y v] by (-1)\nelse\n    change [speed y v] by (-2)\nend\nchange y by (speed y)\nchange [falling? v] by (1)\n\ndefine Check Hit Ceiling / Floor <up?>\nGet Touching \nif <(touch) = [0]> then\n    set [in platforrm v] to [1]\nelse\n    if <<up?> and <(touch) = [1]>> then\n        set [in platforrm v] to [2]\n    end\nend\nrepeat until <(touch) < (in platforrm)>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    Get Touching <not <up?>>\n    set [speed y v] to [0]\nend\n\ndefine Get Touching <check platform?>\nif <touching (ground v)?> then\n    set [touch v] to [9]\nelse\n    if <<check platform?> and <touching (ground v)?>> then\n        set [touch v] to [1]\n    else\n        set [touch v] to [0]\n    end\nend\n\ndefine Reset Level\nset size to (35) %\nset rotation style [left-right v]\ngo to x: (-216) y: (-118)\nreset timer\nshow\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [falling? v] to [10]\nset [in platforrm v] to [1]\nset [frame v] to [0]\nset [wall jump v] to [0]\n\nwhen flag clicked\nset [skips v] to [0]\nhide\n\nwhen I receive [green flag v]\nReset Level\ngo to [back v] layer\nforever\n    switch costume to (stand_1 v)\n    Controls - Jump, Crouch\n    Gravity\n    Check Hit Ceiling / Floor <(speed y) > [0]>\n    if <(y position) < [-211]> then\n        Reset Level\n    end\n    if <(wall jump) > [0]> then\n        change [wall jump v] by (-1)\n    else\n        Controls - Left and Right\n    end\n    if <(speed x) < [-0.5]> then\n        Walk (-90) (speed x) max step (([ceiling v] of ([abs v] of ((speed x) * (1.3)) ) ) + (1))\n    else\n        if <(speed x) > [0.5]> then\n            Walk (90) (speed x) max step (([ceiling v] of ([abs v] of ((speed x) * (1.3)) ) ) + (1))\n        else\n            set [frame v] to [0]\n        end\n    end\n    if <touching (trampoline v)?> then\n        set [speed y v] to [25]\n    end\n    if <touching (danger v)?> then\n        broadcast (Dead v)\n        change [deaths v] by (1)\n        Reset Level\n    end\n    if <not <(Level) = [10]>> then\n        if <(x position) > [238]> then\n            change [level v] by (1)\n            broadcast (Reset v)\n            Reset Level\n        end\n    end\n    if <(y position) < [-182]> then\n        broadcast (Dead v)\n        change [deaths v] by (1)\n        Reset Level\n    end\n    if <(Level) = [7]> then\n        if <(x position) < [-238]> then\n            change [level v] by (1)\n            Reset Level\n        end\n    end\n    broadcast (tick v) and wait\nend\n\nwhen flag clicked\nset [deaths v] to [0]\n\nwhen I receive [dead v]\nif <(Level) = [8]> then\n    broadcast (Died v)\nend\n\nwhen [r v] key pressed\nbroadcast (Reset v)\nReset Level\n\nwhen [q v] key pressed\nbroadcast (Skip v)\n\nwhen I receive [skip v]\nif <not <(Level) = [10]>> then\n    change [skips v] by (1)\n    change [level v] by (1)\n    broadcast (Reset v)\nend\n\nwhen I receive [reset v]\nReset Level\n\n@Deaths Counter\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset [brightness v] effect to (-100)\nshow\nforever\n    go to x: (((digits) * (10)) - (167)) y: (165)\n    if <(length of (Deaths)) < (digits)> then\n        hide\n    else\n        show\n        switch costume to (letter (digits) of (Deaths))\n    end\nend\n\nwhen I receive [green flag v]\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\n\n@Skip counter\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset [brightness v] effect to (-100)\nshow\nforever\n    go to x: (((digits) * (10)) - (23)) y: (165)\n    if <(length of (Skips)) < (digits)> then\n        hide\n    else\n        show\n        switch costume to (letter (digits) of (Skips))\n    end\nend\n\nwhen I receive [green flag v]\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\n\n@Ground\n\nwhen I receive [green flag v]\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nif <(Level) = [9]> then\n\n@Danger\n\nwhen flag clicked\nset [level v] to [1]\ngo to [back v] layer\nhide\n\nwhen I receive [died v]\nswitch backdrop to (8-2 v)\n\nwhen I receive [reset v]\nif <(Level) = [9]> then\n    switch costume to (10 v)\n    switch backdrop to (9 v)\nend\n\nwhen I receive [green flag v]\nshow\nforever\n    switch costume to (Level)\n    if <not <(Level) = [8]>> then\n        switch backdrop to (Level)\n    else\n        switch backdrop to (8 v)\n        stop [this script v]\n    end\nend\n\n@Buttons\n\nwhen flag clicked\nswitch costume to (reset v)\nhide\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nset size to (50) %\nset [brightness v] effect to (25)\nset [ghost v] effect to (15)\nif <(costume [number v]) = [1]> then\n    go to x: (-208) y: (-163)\nend\nif <(costume [number v]) = [2]> then\n    go to x: (-150) y: (-162)\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (58) %\n    else\n        set size to (50) %\n    end\n    if <(Level) = [10]> then\n        delete this clone\n    end\nend\n\nwhen I receive [green flag v]\nrepeat (2)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    broadcast (Reset v)\nend\nif <(costume [number v]) = [2]> then\n    broadcast (skip v)\nend\n\n@Clouds\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nset [ghost v] effect to (pick random (20) to (35))\nif <(pick random (1) to (2)) = [1]> then\n    point in direction (90)\n    go to x: (-308) y: (146)\n    repeat until <(x position) > [307]>\n        move (1) steps\n    end\n    delete this clone\nelse\n    point in direction (-90)\n    go to x: (308) y: (130)\n    repeat until <(x position) < [-307]>\n        change x by (-1)\n    end\n    delete this clone\nend\n\nwhen I receive [green flag v]\nhide\nset [ghost v] effect to (0)\nforever\n    create clone of (_myself_ v)\n    wait (pick random (5) to (10)) seconds\nend\n\n@Thumb Nail\n\nwhen flag clicked\nhide\n\nwhen I receive [outro done v]\nshow\n\n@Sprite2\n\nwhen flag clicked\npoint in direction (90)\nset size to (10) %\nclear graphic effects\nset [pixelate v] effect to (100)\nrepeat (50)\n    change [pixelate v] effect by (-2)\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nstart sound [Amadeus - Euphoria v]\nshow\nrepeat (37)\n    change size by (10)\nend\nwait (6.3) seconds\nbroadcast (bass drop v)\nset size to (540) %\nturn right (10) degrees\nrepeat (16)\n    change size by (-10)\nend\nwait (0.5) seconds\nset size to (540) %\nturn left (20) degrees\nrepeat (16)\n    change size by (-10)\nend\nwait (0.3) seconds\nset size to (540) %\nturn right (20) degrees\nrepeat (16)\n    change size by (-10)\nend\nwait (0.2) seconds\nset size to (900) %\nwait (0.4) seconds\nset size to (540) %\nbroadcast (bass drop 2 v)\nturn left (20) degrees\nrepeat (16)\n    change size by (-10)\nend\nwait (0.5) seconds\nset size to (540) %\nturn right (20) degrees\nrepeat (16)\n    change size by (-10)\nend\nwait (0.3) seconds\nset size to (540) %\nturn left (20) degrees\nrepeat (16)\n    change size by (-10)\nend\nwait (0.3) seconds\nset size to (540) %\nturn left (20) degrees\nwait (3) seconds\nhide\nbroadcast (message1 v)\nbroadcast (Green flag v)\nnext backdrop\n\nwhen flag clicked\nforever\n    next costume\nend\n\n