Among Us platformer Game

Instructions: Click Green Flag button\nMove arrow keys \nBe save from lava and obstacles\nGood luck\nWARNING:\nI would refer you to put your volume 50 at least because it is so high

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [previous page v]\nswitch backdrop to (instructs 1 v)\n\n@Play\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nhide\nswitch backdrop to (backdrop1 v)\nplay sound [pop v] until done\n\nwhen backdrop switches to [instructs 1 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Help\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen this sprite clicked\nswitch backdrop to (instructs 1 v)\nhide\nplay sound [pop v] until done\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Stages\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\nswitch costume to (costume2 v)\n\nwhen I receive [switch 1 v]\nswitch costume to (costume3 v)\n\nwhen I receive [level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [19]> then\n        broadcast (The End v)\n    end\nend\n\nwhen I receive [the end v]\nstop [this script v]\n\n@Switch\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen flag clicked\nhide\n\n@Among Us\n\nwhen flag clicked\nhide variable [☁ wr v]\nhide variable [sec v]\nforever\n    set [☁ wr v] to (☁ WR)\nend\n\nwhen I receive [the end v]\nhide variable [sec v]\nforever\n    if <(☁ WR) > (final seconds)> then\n        set [☁ wr v] to (final seconds)\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    Platform Gravity [-1] Jump Height [16] Side Movement Speed [3] Friction [0.7] Slope [8]\nend\n\nwhen backdrop switches to [backdrop1 v]\nshow variable [☁ wr v]\nshow variable [sec v]\nshow\nset size to (30) %\nswitch costume to (i v)\nset [y v] to [0]\nset [x v] to [0]\ngo to x: (-65) y: (-20)\nforever\n    if <key (p v) pressed?> then\n        switch costume to (purple v)\n    end\n    if <key (r v) pressed?> then\n        switch costume to (red v)\n    end\n    if <key (b v) pressed?> then\n        switch costume to (blue v)\n    end\n    if <key (y v) pressed?> then\n        switch costume to (yellow v)\n    end\n    if <key (g v) pressed?> then\n        switch costume to (green v)\n    end\n    if <key (o v) pressed?> then\n        switch costume to (orange v)\n    end\n    if <key (w v) pressed?> then\n        switch costume to (white v)\n    end\n    if <key (i v) pressed?> then\n        switch costume to (pink v)\n    end\n    if <key (k v) pressed?> then\n        switch costume to (brown v)\n    end\n    if <key (l v) pressed?> then\n        switch costume to (blue2 v)\n    end\n    if <key (z v) pressed?> then\n        switch costume to (black v)\n    end\n    if <key (d v) pressed?> then\n        switch costume to (dark green v)\n    end\n    if <touching (switch v)?> then\n        broadcast (Level v)\n        RP\n    end\n    if <touching (lava v)?> then\n        RP\n    end\nend\n\ndefine Platform Gravity (gravity) Jump Height (jump height) Side Movement Speed (side movement) Friction (friction) Slope (slope)\nchange [y v] by (gravity)\nchange y by (Y)\nif <touching (stages v)?> then\n    repeat until <not <touching (stages v)?>>\n        change y by ((([abs v] of (Y) ) / (Y)) * (-1))\n    end\n    set [y v] to (<<key (up arrow v) pressed?> and <(([abs v] of (Y) ) / (Y)) = [-1]>> * (jump height))\nend\nset [x v] to (((X) + ((<key (left arrow v) pressed?> * ((side movement) * (-1))) + (<key (right arrow v) pressed?> * (side movement)))) * (friction))\nchange x by (X)\nif <touching (stages v)?> then\n    change y by (1)\n    repeat until <not <touching (stages v)?>>\n        change x by ((([abs v] of (X) ) / (X)) * (-1))\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Cash Cash - Overtime v] until done\nend\n\ndefine RP\ngo to x: (-65) y: (-20)\n\nwhen backdrop switches to [backdrop1 v]\nset [sec v] to [0]\nforever\n    wait (1) seconds\n    change [sec v] by (1)\nend\n\nwhen I receive [the end v]\nset [final seconds v] to (Sec)\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> then\n        switch costume to (red v)\n        wait (.01) seconds\n        switch costume to (red2 v)\n        wait (.01) seconds\n        switch costume to (red3 v)\n        wait (.01) seconds\n        switch costume to (red4 v)\n        wait (.01) seconds\n        switch costume to (red5 v)\n        wait (.01) seconds\n        switch costume to (red6 v)\n        wait (.01) seconds\n        switch costume to (red7 v)\n        wait (.01) seconds\n        switch costume to (red8 v)\n        wait (.01) seconds\n        switch costume to (red9 v)\n        wait (.01) seconds\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nsay (join [Hi] (join [ ] (username))) for (2) seconds\n\n@Back\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [instructs 2 v]\nshow\n\nwhen this sprite clicked\nbroadcast (Previous page v)\nplay sound [pop v] until done\n\nwhen backdrop switches to [instructs 1 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\n@Lava\n\nwhen flag clicked\nhide\n\nwhen I receive [level v]\nnext costume\n\nwhen backdrop switches to [backdrop1 v]\nshow\nswitch costume to (costume1 v)\n\n@thumbnail\n\nwhen flag clicked\nshow\ngo to [front v] layer\nwait (3) seconds\nhide\n\n