Unfair platformer
@Stage\n\nwhen flag clicked\nset [lives taken v] to [1]\n\nwhen I receive [death v]\nchange [lives taken v] by (1)\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [play v]\nswitch backdrop to (backdrop3 v)\n\n@player\n\nwhen I receive [play v]\nforever\n    if <key (right arrow v) pressed?> then\n        set [left/right v] to [right]\n        switch costume to (step1 v)\n        wait (0.2) seconds\n        if <key (right arrow v) pressed?> then\n            switch costume to (jump v)\n            wait (0.2) seconds\n            if <key (right arrow v) pressed?> then\n                switch costume to (step2 v)\n                wait (0.2) seconds\n                if <key (right arrow v) pressed?> then\n                    switch costume to (step3 v)\n                    wait (0.2) seconds\n                    if <key (right arrow v) pressed?> then\n                        switch costume to (jump2 v)\n                        wait (0.2) seconds\n                        if <key (right arrow v) pressed?> then\n                            switch costume to (step4 v)\n                            wait (0.2) seconds\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <key (left arrow v) pressed?> then\n        set [left/right v] to [left]\n        switch costume to (step5 v)\n        wait (0.2) seconds\n        if <key (left arrow v) pressed?> then\n            switch costume to (jump3 v)\n            wait (0.2) seconds\n            if <key (left arrow v) pressed?> then\n                switch costume to (step6 v)\n                wait (0.2) seconds\n                if <key (left arrow v) pressed?> then\n                    switch costume to (step7 v)\n                    wait (0.2) seconds\n                    if <key (left arrow v) pressed?> then\n                        switch costume to (jump4 v)\n                        wait (0.2) seconds\n                        if <key (left arrow v) pressed?> then\n                            switch costume to (step8 v)\n                            wait (0.2) seconds\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\n\nwhen I receive [play v]\nforever\n    if <(Left/right) = [left]> then\n        if <not <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>> then\n            switch costume to (stand2 v)\n        end\n    end\n    if <(Left/right) = [right]> then\n        if <not <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>> then\n            switch costume to (stand v)\n        end\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <(Left/right) = [right]> then\n        if <key (up arrow v) pressed?> then\n            repeat until <not <(random) = [1]>>\n                switch costume to (jump v)\n            end\n        end\n    end\n    if <(Left/right) = [left]> then\n        if <key (up arrow v) pressed?> then\n            repeat until <not <(random) = [1]>>\n                switch costume to (jump3 v)\n            end\n        end\n    end\nend\n\nwhen I receive [play v]\nset [random v] to [0]\n\nwhen I receive [play v]\nforever\n    if <key (right arrow v) pressed?> then\n        change [distance v] by (-5)\n    end\nend\n\nwhen [up arrow v] key pressed\nforever\n    if <key (up arrow v) pressed?> then\n        if <<<touching color (#019245)?> or <touching color (#e5e5e5)?>> or <touching (land8 v)?>> then\n            set [random v] to [1]\n            repeat (10)\n                change y by (10)\n                if <<touching color (#544741)?> or <touching color (#7f7f7f)?>> then\n                    set [random v] to [0]\n                    stop [this script v]\n                end\n            end\n            set [random v] to [0]\n            wait until <<<touching color (#019245)?> or <touching color (#e5e5e5)?>> or <touching (land8 v)?>>\n        end\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <key (left arrow v) pressed?> then\n        if <<touching color (#7f7f7f)?> or <touching color (#544741)?>> then\n            change [distance v] by (-5)\n            if <<touching color (#7f7f7f)?> or <touching color (#544741)?>> then\n                change [distance v] by (-5)\n            end\n        end\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <key (right arrow v) pressed?> then\n        if <<touching color (#7f7f7f)?> or <touching color (#544741)?>> then\n            change [distance v] by (5)\n            if <<touching color (#7f7f7f)?> or <touching color (#544741)?>> then\n                change [distance v] by (5)\n            end\n        end\n    end\nend\n\nwhen I receive [play v]\nshow\ngo to [front v] layer\n\nwhen I receive [death v]\ngo [backward v] (100) layers\nstop [other scripts in sprite v]\n\nwhen I receive [play v]\nforever\n    if <<touching (land5 v)?> or <<touching (trap5 v)?> or <<<<touching (trap4 v)?> or <touching (trap6 v)?>> or <touching (land13 v)?>> or <touching (trap9 v)?>>>> then\n        broadcast (death v)\n    end\nend\n\nwhen I receive [random v]\nrepeat (10)\n    change y by (10)\nend\n\nwhen I receive [play v]\nforever\n    if <<<touching color (#019245)?> or <touching color (#e5e5e5)?>> or <touching (land8 v)?>> then\n        change y by (3)\n    end\n    if <not <<<touching color (#019245)?> or <touching color (#e5e5e5)?>> or <touching (land8 v)?>>> then\n        change y by (-3)\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <key (left arrow v) pressed?> then\n        change [distance v] by (5)\n    end\nend\n\nbroadcast (play v)\n\nwhen flag clicked\ngo to x: (-174) y: (0)\nhide\n\nwhen I receive [play v]\nset [distance v] to [0]\n\nwhen I receive [play v]\nforever\n    if <touching color (#ff00bf)?> then\n        if <touching (sprite4 v)?> then\n            broadcast (WIN!!! v)\n            stop [all v]\n        else\n            broadcast (death v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff00bf)?> then\n        if <touching (sprite4 v)?> then\n            broadcast (WIN!!! v)\n            hide list [leaderboard v]\n            if <<(Lives taken) = (☁ High score)> or <(Lives taken) < (☁ High score)>> then\n                insert (join (username) (join [: ] (Lives taken))) at (1) of [leaderboard v] \n            end\n            stop [all v]\n        else\n            broadcast (death v)\n        end\n    end\nend\n\nwhen I receive [play v]\nif <([backdrop # v] of [_stage_ v]) = [2]> then\n    go to x: (-174) y: (0)\nend\n\nset [lives taken v] to [50]\n\nwhen I receive [play v]\nwait (0.5) seconds\nforever\n    if <touching (_edge_ v)?> then\n        broadcast (death v)\n    end\nend\n\n@grass floor\n\nwhen I receive [play v]\ngo to x: (-4) y: (-137)\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (-4))\n    if <<(distance) < [490]> and <(distance) > [-490]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@disappear1\n\nwhen I receive [play v]\ngo to x: (-487) y: (-137)\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (-520))\n    if <<(distance) < [400]> and <(distance) > [30]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\nset [ghost v] effect to (0)\nforever\n    if <touching (player v)?> then\n        change [ghost v] effect by (25)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\n@trap\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (510))\nend\n\nwhen I receive [play v]\nwait (0.01) seconds\nforever\n    if <<(distance) < [-60]> and <(distance) > [-680]>> then\n        show\n        if <<<(distance) < [-475]> and <(distance) > [-600]>> and <([y position v] of [player v]) < [-39]>> then\n            repeat (7)\n                change y by (-10)\n            end\n            broadcast (death v)\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@land2\n\nwhen I receive [play v]\nswitch costume to (land v)\nforever\n    set x to ((distance) + (510))\n    if <<(distance) < [-20]> and <(distance) > [-1000]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen I receive [joke v]\nswitch costume to (land2 v)\n\nwhen flag clicked\nhide\n\n@Sprite1\n\nwhen I receive [death v]\nshow\ngo to [front v] layer\n\nwhen I receive [play v]\nhide\n\nwhen flag clicked\nhide\n\n@Sprite2\n\nwhen this sprite clicked\nbroadcast (play v)\n\nwhen I receive [play v]\nhide\n\nwhen I receive [death v]\nshow\nrepeat (2)\n    go to [front v] layer\nend\n\nwhen flag clicked\nshow\n\n@Sprite3\n\nwhen this sprite clicked\nstop [all v]\n\nwhen I receive [play v]\nhide\n\nwhen I receive [death v]\nshow\nrepeat (3)\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\n@land3\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (1100))\n    if <<(distance) < [-655]> and <(distance) > [-1460]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\n@trap2\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (605))\n    if <<(distance) < [-360]> and <(distance) > [-850]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-101)\n\nwhen I receive [play v]\nset [ghost v] effect to (0)\nforever\n    if <touching (player v)?> then\n        change [ghost v] effect by (25)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\n@trap3\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (640))\n    if <<(distance) < [-360]> and <(distance) > [-885]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-101)\n\nwhen I receive [play v]\nset [ghost v] effect to (0)\nforever\n    if <touching (player v)?> then\n        change [ghost v] effect by (25)\n        broadcast (joke v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\n@trap4\n\nshow\n\nrepeat (16)\n    change y by (-20)\nend\nchange y by (10)\n\nchange y by (-10)\n\nchange y by (10)\n\nwhen I receive [play v]\nset [random2 v] to [0]\nforever\n    set x to ((distance) + (1100))\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (2)\n\nwhen I receive [play v]\nwait (1) seconds\nforever\n    if <(distance) < [-1240]> then\n        show\n        change [random2 v] by (1)\n        repeat (33)\n            change y by (-10)\n        end\n        hide\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nset [random2 v] to [0]\n\nwhen flag clicked\nhide\n\n@land5\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (1100))\nend\n\nwhen I receive [play v]\nwait (1) seconds\nforever\n    if <<(distance) < [-610]> and <(distance) > [-1500]>> then\n        show\n        if <<(random2) = [1]> and <(distance) > [-1205]>> then\n            change [random2 v] by (1)\n            repeat (27)\n                change y by (-10)\n            end\n            hide\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nset [random2 v] to [0]\n\nchange y by (-10)\n\nwhen flag clicked\nhide\n\n@trap5\n\nshow\n\nrepeat (16)\n    change y by (-20)\nend\nchange y by (10)\n\nchange y by (-10)\n\nchange y by (10)\n\nwhen I receive [play v]\nset [random2 v] to [0]\nforever\n    set x to ((distance) + (1100))\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (2)\n\nset [random2 v] to [0]\n\nwhen I receive [play v]\nwait (1) seconds\nforever\n    if <<(distance) < [-1240]> and <(random2) = [2]>> then\n        go to x: (489) y: (2)\n        show\n        change [random2 v] by (1)\n        repeat (33)\n            change y by (-10)\n        end\n        hide\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\n\n@trap6\n\nshow\n\nrepeat (16)\n    change y by (-20)\nend\nchange y by (10)\n\nchange y by (-10)\n\nchange y by (10)\n\nwhen I receive [play v]\nset [random2 v] to [0]\nforever\n    set x to ((distance) + (1100))\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (2)\n\nset [random2 v] to [0]\n\nwhen I receive [play v]\nwait (1) seconds\nforever\n    if <<(distance) > [-1200]> and <(random2) = [3]>> then\n        go to x: (489) y: (2)\n        show\n        change [random2 v] by (1)\n        repeat (33)\n            change y by (-10)\n        end\n        hide\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@land4\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nset [random2 v] to [0]\n\nchange y by (-10)\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (1700))\nend\n\nwhen I receive [play v]\nforever\n    if <<(distance) < [-1460]> and <(distance) > [-1800]>> then\n        show\n        if <touching (player v)?> then\n            wait (0.5) seconds\n            broadcast (random v)\n            repeat (10)\n                change y by (10)\n            end\n            wait (1) seconds\n            wait until <not <touching (player v)?>>\n            hide\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@land6\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen I receive [play v]\nforever\n    if <<(distance) < [-1650]> and <(distance) > [-2160]>> then\n        show\n        if <touching (player v)?> then\n            wait (1) seconds\n            wait until <not <touching (player v)?>>\n            hide\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (1700))\nend\n\nwhen flag clicked\nhide\n\n@trap7\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (760))\n    if <<(distance) < [-360]> and <(distance) > [-1000]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-101)\n\nwhen I receive [play v]\nset [ghost v] effect to (0)\nforever\n    if <touching (player v)?> then\n        change [ghost v] effect by (25)\n        broadcast (joke2 v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nhide\n\n@trap8\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (760))\nend\n\nwhen I receive [play v]\nhide\ngo to x: (489) y: (-101)\n\nwhen I receive [joke2 v]\nshow\nwait (1) seconds\nhide\n\nwhen flag clicked\nhide\n\n@land7\n\nwhen I receive [play v]\nforever\n    if <<(distance) < [-1745]> and <(distance) > [-2125]>> then\n        show\n    else\n        hide\n    end\nend\n\nset [random2 v] to [0]\n\nchange y by (-10)\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (2200))\nend\n\nwhen I receive [random2 v]\nhide\n\nforever\nend\n\nwhen flag clicked\nhide\n\n@land8\n\nwhen I receive [play v]\nwait (1) seconds\nforever\n    if <<(distance) < [-1745]> and <(distance) > [-2545]>> then\n        show\n    else\n        hide\n    end\nend\n\nset [random2 v] to [0]\n\nchange y by (-10)\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (2200))\nend\n\nwhen flag clicked\nhide\n\n@land9\n\nwhen I receive [play v]\nwait (1) seconds\nforever\n    if <<(distance) < [-2095]> and <(distance) > [-2680]>> then\n        show\n        if <touching (player v)?> then\n            wait (1) seconds\n            wait until <not <touching (player v)?>>\n            hide\n            broadcast (random3 v)\n            stop [this script v]\n        end\n    else\n        hide\n    end\nend\n\nset [random2 v] to [0]\n\nchange y by (-10)\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (2200))\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen flag clicked\nhide\n\n@land10\n\nset [random2 v] to [0]\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (2800))\nend\n\nwhen I receive [play v]\nhide\ngo to x: (489) y: (-13)\n\nwhen I receive [random3 v]\nforever\n    if <<(distance) < [-2365]> and <(distance) > [-2960]>> then\n        show\n        wait until <touching (player v)?>\n        wait until <not <touching (player v)?>>\n        hide\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\n\nwhen flag clicked\nhide\n\n@land11\n\nwhen I receive [play v]\nwait (1) seconds\nforever\n    if <<(distance) < [-2315]> and <(distance) > [-2895]>> then\n        show\n    else\n        hide\n    end\nend\n\nset [random2 v] to [0]\n\nchange y by (-10)\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (2800))\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen flag clicked\nhide\n\n@land12\n\nwhen I receive [play v]\nswitch costume to (land v)\nforever\n    set x to ((distance) + (3000))\n    if <<(distance) < [-2710]> and <(distance) > [-3485]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen flag clicked\nhide\n\n@land13\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nmove (10) steps\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (3000))\n    if <<(distance) < [-2710]> and <(distance) > [-3420]>> then\n        show\n        forever\n            set x to (((distance) + (3000)) + (10))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (20))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (30))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (40))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (50))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (60))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (70))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (80))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (90))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (100))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (110))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (120))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (130))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (140))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (150))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (160))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (170))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (180))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (190))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (190))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (180))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (170))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (160))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (150))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (140))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (130))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (120))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (110))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (100))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (90))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (80))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (70))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (60))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (50))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (40))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (30))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (20))\n            wait (0.1) seconds\n            set x to (((distance) + (3000)) + (10))\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <<(distance) < [-2710]> and <(distance) > [-3420]>> then\n        if <[-254] > (x position)> then\n            hide\n        end\n        if <[-254] < (x position)> then\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\n@land14\n\nwhen I receive [play v]\nswitch costume to (land v)\nforever\n    set x to ((distance) + (3500))\n    if <<(distance) < [-3200]> and <(distance) > [-3990]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen I receive [joke3 v]\nswitch costume to (land2 v)\n\nwhen flag clicked\nhide\n\n@trap9\n\nwhen I receive [play v]\nrepeat until <(distance) < [-3880]>\n    set x to ((distance) + (3900))\nend\n\nwhen I receive [play v]\nforever\n    if <(distance) < [-3880]> then\n        broadcast (Joke3 v)\n        show\n        repeat (33)\n            change y by (-10)\n            change x by (-25)\n            if <touching (land15 v)?> then\n                hide\n                stop [this script v]\n            end\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-20)\n\nwhen flag clicked\nhide\n\n@land15\n\nwhen I receive [play v]\ngo [backward v] (100) layers\nforever\n    set x to ((distance) + (3500))\n    if <<(distance) < [-3200]> and <(distance) > [-3990]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen flag clicked\nhide\n\n@land16\n\nwhen I receive [play v]\nswitch costume to (land v)\nforever\n    set x to ((distance) + (4200))\n    if <<(distance) < [-3720]> and <(distance) > [-4500]>> then\n        show\n        if <<<(distance) < [-4310]> and <(distance) > [-4385]>> and <([y position v] of [player v]) < [46]>> then\n            switch costume to (land2 v)\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen flag clicked\nhide\n\n@land17\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (4900))\n    if <<(distance) < [-4465]> and <(distance) > [-5500]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [play v]\ngo to x: (489) y: (-13)\n\nwhen flag clicked\nhide\n\n@Sprite4\n\nwhen I receive [play v]\ngo to x: (489) y: (-79)\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nforever\n    set x to ((distance) + (4860))\n    if <<(distance) < [-4465]> and <(distance) > [-5500]>> then\n        show\n    else\n        hide\n    end\nend\n\nshow\n\n@Sprite5\n\nwhen I receive [win!!! v]\nshow\nhide list [leaderboard v]\n\nwhen I receive [play v]\nhide\n\nwhen flag clicked\nshow list [leaderboard v]\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n
This is my first go at a scrolling platformer.\nIt's pretty hard and that's coming from the creator.\nComment with how many lives it took for you to complete it, and that's if you didn't rage quit.\nIf you can do it in under 30 lives you are a legend. \nAnd yes it is possible.\n---------------------------------------------------------------------------------------\nUpdate:\nI've made my best attempt at a high score board if it works plz comment to tell me/\n\nPlz love and favourite