Achievement Unlocked | #games #platformer

Instructions: Sorry, I haven't posted a project in so long! I've been busy and school has started.\nIf you don't know how to get achievements, please just look at the code or the costumes of the notification sprite. I'm not going to give away how to get them ;D.\n-----------------HOW TO PLAY-----------------\nUse the arrows, WASD keys, or the mouse to move around. Hover over the brown box on the right to view the achievement list and see how many you've completed. You can press see inside to view how to get the achievements, just like a scavenger hunt, but you can't get a high score. Exit the editor and reload the page to be back in the running!\n----------------------CREDITS----------------------\nMusic: Amazing plan by Kevin Macleod\nIdea: Armor Games\nArt: 100% me\nCode: 100% me\n\nSTUFF NO ONE CARES ABOUT\n9-17-2020: @MaxyBrian - (2000+ followers) Loved and Faved!\n9-17-2020: @QuaXX (5500+ followers) Loved!\n9-17-2020: @actionnzenx (700+ followers) Loved!

@Stage\n\nwhen flag clicked\nforever\n    play sound [Kevin MacLeod Amazing Plan v] until done\nend\n\n@Blank\n\n@Player\n\nwhen flag clicked\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [play game v]\nreset timer\nset [deaths v] to [0]\nset [touching secret? v] to [no]\nset [rainbow? v] to [no]\nset [left v] to [no]\nset [right v] to [no]\nset [arrows v] to [no]\nset [wasd v] to [no]\nset [mobile? v] to [no]\nforever\n    Setup\n    repeat until <(die) > []>\n        switch costume to (live v)\n        if <mouse down?> then\n            set [mobile? v] to [yes]\n        end\n        if <touching (danger v)?> then\n            set [die v] to [die]\n        end\n        if <<key (left arrow v) pressed?> or <<key (right arrow v) pressed?> or <key (up arrow v) pressed?>>> then\n            set [arrows v] to [yes]\n        end\n        if <<key (a v) pressed?> or <<key (w v) pressed?> or <key (s v) pressed?>>> then\n            set [wasd v] to [yes]\n        end\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(x position) > (mouse x)> and <mouse down?>>> then\n            set [left v] to [yes]\n            change [speed x v] by (-1)\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > (x position)> and <mouse down?>>> then\n            set [right v] to [yes]\n            change [speed x v] by (1)\n        end\n        Change Player X by (speed x)\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            if <(in air) < [1]> then\n                set [speed y v] to [17]\n            end\n        end\n        if <touching (boost v)?> then\n            set [speed y v] to [25]\n        end\n        change [speed y v] by (-2)\n        Change Player y by (speed y)\n        if <(y position) < [-180]> then\n            set [die v] to [die]\n        end\n        set [speed x v] to ((speed x) * (0.85))\n        if <touching (secret cave v)?> then\n            set [touching secret? v] to [yes]\n        end\n    end\n    switch costume to (death v)\n    stamp\n    set [die v] to []\n    change [deaths v] by (1)\n    hide\nend\n\ndefine Change Player y by (sy)\nchange [in air v] by (1)\nchange y by (sy)\nrepeat until <not <touching (platform v)?>>\n    if <(sy) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [in air v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine Change Player X by (sx)\nchange x by (sx)\nif <(y position) < [-177]> then\n    set [die v] to [die]\nend\nif <touching (platform v)?> then\n    repeat (2)\n        change y by (1)\n        if <not <touching (platform v)?>> then\n            stop [this script v]\n        end\n    end\n    change y by (-2)\n    repeat until <not <touching (platform v)?>>\n        if <(sx) > [0]> then\n            change x by (-1)\n        else\n            change x by (1)\n        end\n    end\nend\n\ndefine Setup\ngo to [back v] layer\ngo [forward v] (1) layers\nset [in air v] to [1]\nset [die v] to []\nset x to (0)\nset y to (-150)\nset [speed y v] to [0]\nshow\n\nwhen I receive [play game v]\nforever\n    erase all\n    wait (30) seconds\nend\n\nwhen [space v] key pressed\nset [rainbow? v] to [yes]\nforever\n    change [color v] effect by (0.25)\nend\n\nwhen I receive [play game v]\nset [touching mouse? v] to [false]\nwait until <touching (mouse-pointer v)?>\nset [touching mouse? v] to [true]\n\nwhen I receive [play game v]\nset [poked? v] to [false]\nwait until <<touching (mouse-pointer v)?> and <mouse down?>>\nset [poked? v] to [true]\n\nset [# notifications v] to [0]\n\n@Platform\n\nwhen flag clicked\nhide\n\nwhen I receive [play game v]\nClone Tiles\n\ndefine Clone Tiles\nset [clones v] to [0]\nset [tiles touched v] to [0]\nshow\ngo to x: (-230) y: (-175)\nrepeat (24)\n    create clone of (_myself_ v)\n    change x by (20)\nend\ngo to x: (-230) y: (-155)\nrepeat (17)\n    create clone of (_myself_ v)\n    change y by (20)\nend\ngo to x: (-170) y: (-155)\ncreate clone of (_myself_ v)\ngo to x: (-170) y: (-115)\ncreate clone of (_myself_ v)\ngo to x: (-210) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-190) y: (-95)\ncreate clone of (_myself_ v)\ngo to x: (-170) y: (-75)\ncreate clone of (_myself_ v)\ngo to x: (-170) y: (-55)\ncreate clone of (_myself_ v)\ngo to x: (-170) y: (-35)\ncreate clone of (_myself_ v)\ngo to x: (-210) y: (-55)\ncreate clone of (_myself_ v)\ngo to x: (-190) y: (-15)\ncreate clone of (_myself_ v)\ngo to x: (10) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (230) y: (-175)\nrepeat (18)\n    create clone of (_myself_ v)\n    change y by (20)\nend\ngo to x: (190) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (190) y: (-115)\ncreate clone of (_myself_ v)\ngo to x: (190) y: (-95)\ncreate clone of (_myself_ v)\ngo to x: (170) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (150) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (170) y: (-115)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (70) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (50) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (30) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (30) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (10) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-10) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-30) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-50) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-70) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-90) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-70) y: (-115)\ncreate clone of (_myself_ v)\ngo to x: (-70) y: (-95)\ncreate clone of (_myself_ v)\ngo to x: (-70) y: (-75)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (-115)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (-95)\ncreate clone of (_myself_ v)\ngo to x: (-170) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (-110) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (-10) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (10) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (30) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (170) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (190) y: (105)\ncreate clone of (_myself_ v)\ngo to x: (150) y: (145)\ncreate clone of (_myself_ v)\ngo to x: (-210) y: (145)\ncreate clone of (_myself_ v)\ngo to x: (-190) y: (145)\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nswitch costume to (costume1 v)\nwait until <(distance to [player v]) < [33]>\nswitch costume to (costume2 v)\nchange [tiles touched v] by (1)\n\nwhen I start as a clone\nchange [clones v] by (1)\n\ngo to x: (150) y: (145)\n\ncreate clone of (_myself_ v)\ngo to x: (-210) y: (145)\ncreate clone of (_myself_ v)\ngo to x: (-190) y: (145)\ncreate clone of (_myself_ v)\nhide\n\ngo to x: (-210) y: (-155)\n\ncreate clone of (_myself_ v)\ngo to x: (50) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (30) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (30) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (10) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-10) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-30) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-50) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-70) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-90) y: (-135)\ncreate clone of (_myself_ v)\ngo to x: (-70) y: (-115)\ncreate clone of (_myself_ v)\ngo to x: (-70) y: (-95)\ncreate clone of (_myself_ v)\ngo to x: (-70) y: (-75)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (-115)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (-95)\ncreate clone of (_myself_ v)\ngo to x: (-170) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (-110) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (-10) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (10) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (30) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (170) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (190) y: (105)\ncreate clone of (_myself_ v)\ngo to x: (150) y: (145)\ncreate clone of (_myself_ v)\ngo to x: (-210) y: (145)\ncreate clone of (_myself_ v)\ngo to x: (-190) y: (145)\ncreate clone of (_myself_ v)\nhide\n\n@Danger\n\nwhen flag clicked\nhide\n\nwhen I receive [play game v]\nClone Tiles\n\ndefine Clone Tiles\nset [spikes touched v] to [0]\nshow\npoint in direction (90)\ngo to x: (-50) y: (-115)\nrepeat (7)\n    create clone of (_myself_ v)\n    change x by (20)\nend\ngo to x: (190) y: (85)\npoint in direction (-90)\ncreate clone of (_myself_ v)\ngo to x: (-190) y: (125)\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nshow\nswitch costume to (costume1 v)\nwait until <touching (player v)?>\nchange [spikes touched v] by (1)\nswitch costume to (costume2 v)\n\nwhen I start as a clone\nchange [clones v] by (1)\n\npoint in direction (90)\n\nhide\n\n@Boost\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nchange [clones v] by (1)\n\ndefine Clone Tiles\ngo to [back v] layer\nset [boosts touched v] to [0]\nshow\ngo to x: (210) y: (-155)\nrepeat (4)\n    create clone of (_myself_ v)\n    change y by (20)\nend\ngo to x: (110) y: (155)\ncreate clone of (_myself_ v)\ngo to x: (70) y: (155)\ncreate clone of (_myself_ v)\ngo to x: (10) y: (155)\ncreate clone of (_myself_ v)\ngo to x: (-30) y: (155)\ncreate clone of (_myself_ v)\ngo to x: (-90) y: (155)\ncreate clone of (_myself_ v)\ngo to x: (-130) y: (155)\ncreate clone of (_myself_ v)\nhide\n\npoint in direction (90)\n\nrepeat (7)\n\ngo to x: (190) y: (85)\npoint in direction (-90)\ncreate clone of (_myself_ v)\ngo to x: (-190) y: (125)\n\nwhen I receive [play game v]\nClone Tiles\n\nwhen I start as a clone\nshow\nswitch costume to (costume1 v)\n\nwait until \n\ngo to x: (-160) y: (145)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        switch costume to (costume2 v)\n        change [boosts touched v] by (1)\n        stop [this script v]\n    end\nend\n\n@Achivement Generation\n\nwhen flag clicked\ndelete all of [achivements v]\nadd [Flag of green] to [achivements v]\nadd [Don't move a muscle] to [achivements v]\nadd [A step to the left!] to [achivements v]\nadd [A step to the right!] to [achivements v]\nadd [Up] to [achivements v]\nadd [WASD] to [achivements v]\nadd [Arrows] to [achivements v]\nadd [Ding] to [achivements v]\nadd [Touchy x1] to [achivements v]\nadd [Touchy x5] to [achivements v]\nadd [Touchy x10] to [achivements v]\nadd [Touchy x20] to [achivements v]\nadd [Touchy x30] to [achivements v]\nadd [Touchy x50] to [achivements v]\nadd [Booster x5] to [achivements v]\nadd [Grinder x1] to [achivements v]\nadd [Grinder x5] to [achivements v]\nadd [Booster x10] to [achivements v]\nadd [Grinder x10] to [achivements v]\nadd [Grinder x20] to [achivements v]\nadd [Spiky x1] to [achivements v]\nadd [Spiky x5] to [achivements v]\nadd [Oof x1] to [achivements v]\nadd [Oof x2] to [achivements v]\nadd [Oof x5] to [achivements v]\nadd [Secret Cave] to [achivements v]\nadd [Rainbow] to [achivements v]\nadd [I can see them all] to [achivements v]\nadd [Mobile] to [achivements v]\nadd [Tickly] to [achivements v]\nadd [Pokey] to [achivements v]\nadd [Supersonic] to [achivements v]\n\nwhen flag clicked\nforever\n    if <([x position v] of [show/hide achievements v]) < [40]> then\n        hide list [achivements v]\n    else\n        show list [achivements v]\n    end\nend\n\nadd [Booster x10] to [achivements v]\nadd [Grinder x10] to [achivements v]\nadd [Grinder x20] to [achivements v]\nadd [Grinder x60] to [achivements v]\nadd [Spiky x1] to [achivements v]\nadd [Spiky x5] to [achivements v]\n\n@Show/Hide Achievements\n\nwhen I receive [play game v]\nshow\nset [open list? v] to [no]\ngo to x: (199) y: (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        change x by (((x position) - (33)) / (-4))\n    else\n        change x by (((x position) - (199)) / (-4))\n    end\nend\n\nwhen I receive [play game v]\nforever\n    if <(round (x position)) = [33]> then\n        set [open list? v] to [yes]\n    end\nend\n\ngo to x: (199) y: (0)\n\nif <touching (mouse-pointer v)?> then\n    change x by (((x position) - (33)) / (-4))\nelse\n    change x by (((x position) - (199)) / (-4))\nend\n\nwhen I receive [end screen v]\nhide\n\n@Notification\n\nwhen flag clicked\nset [clone # v] to [0]\nset [# notifications v] to [0]\nset [is clone? v] to [false]\ngo to x: (-113) y: (-180)\ngo to [front v] layer\ngo [backward v] (1) layers\n\ndefine Achievement Unlocked notify (achivement)\nhide\nswitch costume to (achivement)\nchange [clone # v] by (1)\ncreate clone of (_myself_ v)\nreplace item (item # of (achivement) in [achivements v]) of [achivements v] with [✅]\n\nwhen I start as a clone\nset [is clone? v] to [true]\nchange [# notifications v] by (1)\nshow\nset [ghost v] effect to (100)\nstart sound [Ding Sound Effect v]\nrepeat (100)\n    change y by (((y position) - (((clone #) * (20)) - (180))) / (-5))\n    change [ghost v] effect by (-5)\nend\nbroadcast (Move Down v)\nrepeat (15)\n    change y by (((y position) - (-180)) / (-10))\n    change [ghost v] effect by (10)\nend\nchange [# notifications v] by (-1)\nbroadcast (Minus notifications v)\ndelete this clone\n\nwhen flag clicked\nCheck Achivements\n\nwhen I receive [move down v]\nif <(Is clone?) = [true]> then\n    change [clone # v] by (-1)\nend\n\nwhen I receive [minus notifications v]\nif <(Is clone?) = [false]> then\n    change [clone # v] by (-1)\nend\n\ndefine Check Achivements\nwait (0) seconds\nAchievement Unlocked notify [Flag of green]\nforever\n    if <<<(round (speed x)) = [0]> and <(round ([speed y v] of [player v])) = [0]>> and <[achivements v] contains [Don't move a muscle]?>> then\n        Achievement Unlocked notify [Don't move a muscle]\n        wait (0) seconds\n    end\n    if <<(Tiles touched) > [1]> and <[achivements v] contains [Touchy x1]?>> then\n        Achievement Unlocked notify [Touchy x1]\n        wait (0) seconds\n    end\n    if <<(timer) > [1]> and <[achivements v] contains [Grinder x1]?>> then\n        Achievement Unlocked notify [Grinder x1]\n        wait (0) seconds\n    end\n    if <<(Tiles touched) > [5]> and <[achivements v] contains [Touchy x5]?>> then\n        Achievement Unlocked notify [Touchy x5]\n        wait (0) seconds\n    end\n    if <<(timer) > [5]> and <[achivements v] contains [Grinder x5]?>> then\n        Achievement Unlocked notify [Grinder x5]\n        wait (0) seconds\n    end\n    if <<(Tiles touched) > [10]> and <[achivements v] contains [Touchy x10]?>> then\n        Achievement Unlocked notify [Touchy x10]\n        wait (0) seconds\n    end\n    if <<(Tiles touched) > [20]> and <[achivements v] contains [Touchy x20]?>> then\n        Achievement Unlocked notify [Touchy x20]\n        wait (0) seconds\n    end\n    if <<(Tiles touched) > [30]> and <[achivements v] contains [Touchy x30]?>> then\n        Achievement Unlocked notify [Touchy x30]\n        wait (0) seconds\n    end\n    if <<(Tiles touched) > [50]> and <[achivements v] contains [Touchy x50]?>> then\n        Achievement Unlocked notify [Touchy x50]\n        wait (0) seconds\n    end\n    if <<(timer) > [10]> and <[achivements v] contains [Grinder x10]?>> then\n        Achievement Unlocked notify [Grinder x10]\n        wait (0) seconds\n    end\n    if <<(timer) > [20]> and <[achivements v] contains [Grinder x20]?>> then\n        Achievement Unlocked notify [Grinder x20]\n        wait (0) seconds\n    end\n    if <<(Boosts touched) > [1]> and <[achivements v] contains [Booster x1]?>> then\n        Achievement Unlocked notify [Booster x1]\n        wait (0) seconds\n    end\n    if <<(Boosts touched) > [5]> and <[achivements v] contains [Booster x5]?>> then\n        Achievement Unlocked notify [Booster x5]\n        wait (0) seconds\n    end\n    if <<(Boosts touched) = [10]> and <[achivements v] contains [Booster x10]?>> then\n        Achievement Unlocked notify [Booster x10]\n        wait (0) seconds\n    end\n    if <<(Spikes touched) > [1]> and <[achivements v] contains [Spiky x1]?>> then\n        Achievement Unlocked notify [Spiky x1]\n        wait (0) seconds\n    end\n    if <<(Spikes touched) > [5]> and <[achivements v] contains [Spiky x5]?>> then\n        Achievement Unlocked notify [Spiky x5]\n        wait (0) seconds\n    end\n    if <<(touching secret?) = [yes]> and <[achivements v] contains [Secret Cave]?>> then\n        Achievement Unlocked notify [Secret Cave]\n        wait (0) seconds\n    end\n    if <<(left) = [yes]> and <[achivements v] contains [A step to the left!]?>> then\n        Achievement Unlocked notify [A step to the left!]\n        wait (0) seconds\n    end\n    if <<(left) = [yes]> and <[achivements v] contains [A step to the left!]?>> then\n        Achievement Unlocked notify [A step to the left!]\n        wait (0) seconds\n    end\n    if <<(right) = [yes]> and <[achivements v] contains [A step to the right!]?>> then\n        Achievement Unlocked notify [A step to the right!]\n        wait (0) seconds\n    end\n    if <<(arrows) = [yes]> and <[achivements v] contains [Arrows]?>> then\n        Achievement Unlocked notify [Arrows]\n        wait (0) seconds\n    end\n    if <<(wasd) = [yes]> and <[achivements v] contains [WASD]?>> then\n        Achievement Unlocked notify [WASD]\n        wait (0) seconds\n    end\n    if <<(Rainbow?) = [yes]> and <[achivements v] contains [Rainbow]?>> then\n        Achievement Unlocked notify [Rainbow]\n        wait (0) seconds\n    end\n    if <<(Open list?) = [yes]> and <[achivements v] contains [I can see them all]?>> then\n        Achievement Unlocked notify [I can see them all]\n        wait (0) seconds\n    end\n    if <<(deaths) > [1]> and <[achivements v] contains [Oof x1]?>> then\n        Achievement Unlocked notify [Oof x1]\n        wait (0) seconds\n    end\n    if <<(deaths) > [2]> and <[achivements v] contains [Oof x2]?>> then\n        Achievement Unlocked notify [Oof x2]\n        wait (0) seconds\n    end\n    if <<(deaths) > [5]> and <[achivements v] contains [Oof x5]?>> then\n        Achievement Unlocked notify [Oof x5]\n        wait (0) seconds\n    end\n    if <<(mobile?) = [yes]> and <[achivements v] contains [Mobile]?>> then\n        Achievement Unlocked notify [Mobile]\n        wait (0) seconds\n    end\n    if <<[achivements v] contains [Ding]?> and <[achivements v] contains [✅]?>> then\n        Achievement Unlocked notify [Ding]\n        wait (0) seconds\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <[achivements v] contains [Up]?>> then\n        Achievement Unlocked notify [Up]\n        wait (0) seconds\n    end\n    if <<(touching mouse?) = [true]> and <[achivements v] contains [Tickly]?>> then\n        Achievement Unlocked notify [Tickly]\n        wait (0) seconds\n    end\n    if <<([abs v] of (speed x) ) > [5.66]> and <[achivements v] contains [Supersonic]?>> then\n        Achievement Unlocked notify [Supersonic]\n        wait (0) seconds\n    end\n    if <<(poked?) = [true]> and <[achivements v] contains [Pokey]?>> then\n        Achievement Unlocked notify [Pokey]\n        wait (0) seconds\n    end\nend\n\ndefine Check achievement completion\nset [i v] to [1]\nset [finish? v] to [yes]\nrepeat (length of [achivements v])\n    if <not <(item (i) of [achivements v]) = [✅]>> then\n        set [finish? v] to [no]\n    end\n    change [i v] by (1)\nend\nif <(finish?) = [yes]> then\n    broadcast (End Screen v)\n    stop [other scripts in sprite v]\n    stop [this script v]\nend\n\nwhen I receive [play game v]\nforever\n    Check achievement completion\nend\n\nwhen [9 v] key pressed\nif <(username) = [rayli1123]> then\n    replace item (1) of [achivements v] with [✅]\n    replace item (2) of [achivements v] with [✅]\n    replace item (3) of [achivements v] with [✅]\n    replace item (4) of [achivements v] with [✅]\n    replace item (5) of [achivements v] with [✅]\n    replace item (6) of [achivements v] with [✅]\n    replace item (7) of [achivements v] with [✅]\n    replace item (8) of [achivements v] with [✅]\n    replace item (9) of [achivements v] with [✅]\n    replace item (10) of [achivements v] with [✅]\n    replace item (11) of [achivements v] with [✅]\n    replace item (12) of [achivements v] with [✅]\n    replace item (13) of [achivements v] with [✅]\n    replace item (14) of [achivements v] with [✅]\n    replace item (15) of [achivements v] with [✅]\n    replace item (16) of [achivements v] with [✅]\n    replace item (17) of [achivements v] with [✅]\n    replace item (18) of [achivements v] with [✅]\n    replace item (19) of [achivements v] with [✅]\n    replace item (20) of [achivements v] with [✅]\n    replace item (21) of [achivements v] with [✅]\n    replace item (22) of [achivements v] with [✅]\n    replace item (23) of [achivements v] with [✅]\n    replace item (24) of [achivements v] with [✅]\n    replace item (25) of [achivements v] with [✅]\n    replace item (26) of [achivements v] with [✅]\n    replace item (27) of [achivements v] with [✅]\n    replace item (28) of [achivements v] with [✅]\n    replace item (29) of [achivements v] with [✅]\n    replace item (30) of [achivements v] with [✅]\n    replace item (31) of [achivements v] with [✅]\n    replace item (32) of [achivements v] with [✅]\n    replace item (33) of [achivements v] with [✅]\nend\n\nwhen flag clicked\nset [highscore v] to ((☁ highscore) / (1000))\n\nwait (0) seconds\n\n@Timer\n\nwhen I start as a clone\nset size to (90) %\nforever\n    go to x: (((digits) * (11)) - (30)) y: (-50)\n    if <(length of (timer)) < (digits)> then\n        hide\n    else\n        show\n        if <(letter (digits) of (timer)) = [.]> then\n            switch costume to (costume11 v)\n        else\n            switch costume to (letter (digits) of (timer))\n        end\n    end\nend\n\ndefine Generate Number Clones\nset [digits v] to [0]\nrepeat (20)\n    change [digits v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\nGenerate Number Clones\n\n@Secret Cave\n\nwhen I receive [play game v]\nshow\ngo to x: (-210) y: (-155)\ngo to [front v] layer\ngo [backward v] (10) layers\n\nwhen flag clicked\nhide\n\n@You win!\n\nwhen I receive [end screen v]\nset [your score v] to (timer)\nshow variable [your score v]\nshow variable [highscore v]\nshow\nset [your score v] to ((round ((your score) * (1000))) / (1000))\nif <(your score) < (highscore)> then\n    set [☁ highscore v] to ((your score) * (1000))\n    set [highscore v] to ((☁ highscore) / (1000))\nend\nstop [all v]\n\nwhen flag clicked\nhide\nhide variable [your score v]\nhide variable [highscore v]\n\n@Thumb\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n