3D  PLATFORMER アクションゲーム　Action games　   

Instructions: New Personality Quiz Out! :D\nhttps://scratch.mit.edu/projects/510918831/\n\nNew Personality Quiz Out! :D https://scratch.mit.edu/projects/510673554\n\nIf you Enjoyed Then Remeber to Love fav and follow! :)\n\n#7 On Trending 21-3-5 #5 On Games 21-3-5? This is my first Game?\n\n comment Your Best Time! :)\n\nThis is my first project! :)\n\nThanks @-Pickleanimator- For the intro @TimMcCool for the love and fav dector Thanks @StrafordJames for the you win screen and Thanks @0014049 For the Platformer Tutorial on youtube! :)

@Stage\n\n@Platforms\n\nClone at x: [400] y: [0]\n\nClone at x: [600] y: [0]\n\nClone at x: [400] y: [0]\nClone at x: [400] y: [0]\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [500] y: [0]\n    Clone at x: [800] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x: [400] y: [0]\n        Clone at x: [400] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (3 v)\n            Clone at x: [500] y: [0]\n            Clone at x: [500] y: [0]\n            Clone at x: [500] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 v)\n                Clone at x: [900] y: [0]\n                Clone at x: [650] y: [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (level 5 v)\n                    Clone at x: [400] y: [0]\n                    Clone at x: [400] y: [0]\n                    Clone at x: [400] y: [0]\n                    Clone at x: [400] y: [0]\n                    Clone at x: [400] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        switch costume to (level 6 acural 6 v)\n                        Clone at x: [600] y: [400]\n                        Clone at x: [600] y: [-400]\n                        Clone at x: [600] y: [0]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (level 7 v)\n                            Clone at x: [400] y: [0]\n                            Clone at x: [400] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (gaming v)\n                                Clone at x: [400] y: [0]\n                                Clone at x: [400] y: [0]\n                            else\n                                if <(LEVEL) = [9]> then\n                                    switch costume to (pizza v)\n                                    Clone at x: [400] y: [0]\n                                    Clone at x: [400] y: [0]\n                                else\n                                    if <(LEVEL) = [10]> then\n                                        switch costume to (level 9 acural 5 v)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nnext costume\nnext costume\n\ncreate clone of (_myself_ v)\n\nClone at x: [400] y: [0]\nClone at x: [400] y: [0]\n\nClone at x: [400] y: [0]\nClone at x: [400] y: [0]\n\n@Exit\n\nwhen I receive [green flag v]\nhide\n\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <<touching (player v)?> and <(portal open?) = [1]>> then\n    set [exit v] to [win]\nend\n\nwhen I receive [setup v]\nhide\nset [portal open? v] to [0]\nset [brightness v] effect to (-40)\nset [collected v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [1300] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        Clone at x: [1000] y: [150]\n    else\n        if <(LEVEL) = [3]> then\n            Clone at x: [1600] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                Clone at x: [2200] y: [100]\n            else\n                if <(LEVEL) = [5]> then\n                    Clone at x: [2000] y: [50]\n                else\n                    if <(LEVEL) = [6]> then\n                        Clone at x: [2600] y: [200]\n                    else\n                        if <(LEVEL) = [7]> then\n                            Clone at x: [1200] y: [100]\n                        else\n                            if <(LEVEL) = [8]> then\n                                Clone at x: [1125] y: [350]\n                            else\n                                if <(LEVEL) = [9]> then\n                                    broadcast (Open Portal v)\n                                    set [portal open? v] to [1]\n                                    Clone at x: [1200] y: [100]\n                                else\n                                    if <(LEVEL) = [10]> then\n                                        Clone at x: [1200] y: [100]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nset [portal open? v] to [1]\n\nClone at x: [920] y: [-28]\n\ncreate clone of (_myself_ v)\n\nnext costume\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\n\nwhen I receive [open portal v]\nset [brightness v] effect to (5)\nset [ghost v] effect to (0)\nset [portal open? v] to [1]\n\nhide\n\nswitch costume to (open v)\n\nwhen flag clicked\nforever\n    next costume\nend\n\nif <(LEVEL) = [2]> then\n\nset [ghost v] effect to (40)\n\nswitch costume to (closed v)\n\nClone at x: [600] y: [0]\n\nset [portal open? v] to [0]\nset [brightness v] effect to (-40)\nswitch costume to (closed v)\n\nif <(LEVEL) = [7]> then\n\nClone at x: [2000] y: [100]\n\nif <(LEVEL) = [7]> then\n    Clone at x: [2300] y: [400]\nend\n\n@spikes\n\nwhen I receive [green flag v]\nhide\n\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x: [630] y: [-30]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 v)\n            Clone at x: [900] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (4 v)\n                Clone at x: [500] y: [0]\n                Clone at x: [500] y: [0]\n                Clone at x: [300] y: [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (5 v)\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [0]\n                    Clone at x: [500] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        switch costume to (6 v)\n                        Clone at x: [1000] y: [50]\n                        Clone at x: [500] y: [50]\n                        Clone at x: [500] y: [50]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (7 v)\n                            Clone at x: [500] y: [50]\n                            Clone at x: [500] y: [50]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (gaming v)\n                                Clone at x: [500] y: [100]\n                            else\n                                if <(LEVEL) = [9]> then\n                                    switch costume to (pizza v)\n                                    Clone at x: [500] y: [100]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I start as a clone\nforever\n\nchange y by (10)\n\nchange y by (-10)\n\nwait (0.1) seconds\n\nset [scroll y v] to [10]\n\nwhen flag clicked\nset [lava rise v] to [5]\n\nrepeat (5)\n    change [lava rise v] by (2)\nend\nwait (0.1) seconds\nrepeat (5)\n    change [lava rise v] by (-2)\nend\nwait (0.1) seconds\n\nforever\n\nClone at x: [500] y: [0]\n\nClone at x: [500] y: [0]\nClone at x: [500] y: [0]\n\nClone at x: [50] y: [50]\n\nClone at x: [500] y: [50]\nClone at x: [500] y: [50]\n\nswitch costume to (costume1 v)\n\n@Player\n\nwhen I receive [lol v]\nwait (0.1) seconds\nset [ghost v] effect to (0)\nset size to (100) %\n\nwhen flag clicked\nwait (10) seconds\nforever\n\nif <key (v v) pressed?> then\n    if <not <(LEVEL) = [9]>> then\n        hide\n        change [level v] by (1)\n        set [no need v] to [1]\n        broadcast (Reset v)\n        wait (1) seconds\n        set [no need v] to [0]\n        wait (2) seconds\n    end\nend\n\nGame - Win\n\nwhen flag clicked\nhide\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\nwait (4) seconds\nshow\n\nwhen I receive [green flag v]\n\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    show\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v)\n    end\n    if <(EXIT) = [win]> then\n        Game - Win\n    else\n        Game - Die\n    end\nend\n\ndefine Game On\nset [y v] to [0]\nset [x v] to [0]\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nbroadcast (lol v)\n\nshow\n\ndefine Tick\nif <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <(left) = [1]>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [sx v] by (-2)\n    switch costume to (costume2 v)\nend\nif <<<mouse down?> and <(x position) < (mouse x)>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <(right) = [1]>>> then\n    change [sx v] by (2)\n    switch costume to (costume1 v)\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player x by (round (sx))\nend\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <(up) = [1]>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <(in air) < [4]> then\n        set [sy v] to [16]\n    end\nend\nif <(sy) > [-20]> then\n    change [sy v] by (-2)\nend\nChange Player y by (sy)\nTest - Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(y) < [-180]> then\n    set [exit v] to [die]\nend\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <touching (platforms v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nif <touching (platforms v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <(up) = [1]>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <touching (platforms v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game - Die\nbroadcast (die v)\nset [exit v] to []\nhide\nwait until <(respawn) = [1]>\nwait (0.1) seconds\nset [ghost v] effect to (100)\n\nrepeat (5)\nhide\nwait (0.5) seconds\n\nwait (0.5) seconds\n\nshow\n\ndefine Test - Die\nif <<touching (lava v)?> or <touching (spikes v)?>> then\n    set [exit v] to [die]\nend\n\ndefine Game - Win\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nchange [level v] by (1)\npoint in direction (90)\nwait (1) seconds\n\ndefine Walk\n\nwhen I receive [walk v]\n\n\n\n\nwhen I receive [walk v]\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\nend\n\n\n\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    if <[3] < (costume [number v])> then\n        wait (0.1) seconds\n        next costume\n    else\n        switch costume to (walk 1 v)\n    end\nelse\n    switch costume to (idle v)\nend\n\nwhen flag clicked\nhide\n\nturn right (15) degrees\n\nbroadcast (Tick v) and wait\n\nbroadcast (Tick v) and wait\n\nwhen flag clicked\npoint in direction (90)\n\nwhen flag clicked\nwait (8) seconds\nforever\n    play sound [Encanted-Places v] until done\nend\n\nwait (0.5) seconds\n\nwhen I receive [tick v]\n\nwhen I receive [lol v]\nwait (0.1) seconds\nset [ghost v] effect to (0)\nset size to (100) %\n\nwhen [v v] key pressed\n\nGame - Win\n\nbroadcast (Reset v)\nshow\n\nwait (3) seconds\n\nbroadcast (lol v)\n\n@Platforms2\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [500] y: [0]\n    Clone at x: [800] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x: [400] y: [0]\n        Clone at x: [400] y: [0]\n        Clone at x: [400] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (3 v)\n            Clone at x: [500] y: [0]\n            Clone at x: [500] y: [0]\n            Clone at x: [500] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 v)\n                Clone at x: [900] y: [0]\n                Clone at x: [650] y: [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (level 5 v)\n                    Clone at x: [400] y: [0]\n                    Clone at x: [400] y: [0]\n                    Clone at x: [400] y: [0]\n                    Clone at x: [400] y: [0]\n                    Clone at x: [400] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        switch costume to (level 6 acural 6 v)\n                        Clone at x: [600] y: [200]\n                        Clone at x: [600] y: [-400]\n                        Clone at x: [600] y: [0]\n                        Clone at x: [600] y: [200]\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (level 8 acural 7 v)\n                            Clone at x: [400] y: [0]\n                            Clone at x: [400] y: [0]\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (gaming v)\n                                Clone at x: [600] y: [100]\n                            else\n                                if <(LEVEL) = [9]> then\n                                    switch costume to (pizza v)\n                                    Clone at x: [600] y: [100]\n                                else\n                                    if <(LEVEL) = [10]> then\n                                        switch costume to (level 7 acural 5 v)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nnext costume\nnext costume\n\ncreate clone of (_myself_ v)\n\nClone at x: [400] y: [0]\n\nClone at x: [600] y: [-400]\n\nClone at x: [600] y: [200]\nClone at x: [600] y: [-400]\nClone at x: [600] y: [0]\nClone at x: [600] y: [200]\n\nswitch costume to (level 7 acural 5 v)\n\nClone at x: [600] y: [100]\n\n@thumbnail\n\nwhen flag clicked\nshow\nwait (1) seconds\nhide\n\ngo to [front v] layer\n\n@clouds\n\nwhen flag clicked\nforever\n    wait (5) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nif <(pick random (1) to (2)) = [1]> then\n    go to x: (-300) y: (pick random (0) to (100))\n    repeat until <[270] < (x position)>\n        change x by (3)\n    end\nelse\n    go to x: (300) y: (pick random (0) to (100))\n    repeat until <(x position) < [-290]>\n        change x by (-3)\n    end\nend\ndelete this clone\n\n@Lava\n\nwhen I receive [green flag v]\nhide\n\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [360] y: [0]\n    Clone at x: [360] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x: [630] y: [-30]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 v)\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (4 v)\n                Clone at x: [1800] y: [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (costume1 v)\n                    Clone at x: [2000] y: [-100]\n                else\n                    if <(LEVEL) = [6]> then\n                        switch costume to (6 v)\n                    else\n                        if <(LEVEL) = [7]> then\n                            switch costume to (7 v)\n                        else\n                            if <(LEVEL) = [8]> then\n                                switch costume to (7 v)\n                            else\n                                if <(LEVEL) = [9]> then\n                                    switch costume to (2 v)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: ((y) + (lava rise))\nif <<(x) = (x position)> and <((y) + (lava rise)) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I start as a clone\nforever\n\nchange y by (-10)\n\nwait (0.1) seconds\n\nchange y by (10)\n\nset [scroll y v] to [10]\n\nwhen flag clicked\nset [lava rise v] to [5]\nforever\n    repeat (10)\n        change [lava rise v] by (2)\n    end\n    wait (0.1) seconds\n    repeat (10)\n        change [lava rise v] by (-2)\n    end\n    wait (0.1) seconds\nend\n\nwait (0.01) seconds\n\nwait (0.01) seconds\n\nClone at x: [2000] y: [-100]\n\n@Platforms4\n\nif <(LEVEL) = [1]> then\n\nClone at x: [500] y: [0]\nClone at x: [800] y: [0]\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition (((x) - (SCROLL X)) / (10)) (((y) - (SCROLL Y)) / (5))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (level 1 1 v)\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nnext costume\nnext costume\n\ncreate clone of (_myself_ v)\n\nClone at x: [400] y: [0]\nClone at x: [400] y: [0]\nClone at x: [400] y: [0]\nClone at x: [400] y: [0]\n\n@Collectables2\n\nwhen I receive [setup v]\nhide\nset [collected max v] to [0]\nset [collected v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [400] y: [150]\n    Clone at x: [700] y: [150]\nelse\n    if <(LEVEL) = [2]> then\n        Clone at x: [800] y: [100]\n    else\n        if <(LEVEL) = [3]> then\n            Clone at x: [500] y: [100]\n            Clone at x: [650] y: [100]\n        else\n            if <(LEVEL) = [4]> then\n                Clone at x: [220] y: [100]\n                Clone at x: [650] y: [100]\n                Clone at x: [800] y: [180]\n                Clone at x: [1050] y: [240]\n                Clone at x: [1300] y: [50]\n                Clone at x: [1800] y: [70]\n                Clone at x: [2100] y: [50]\n            else\n                if <(LEVEL) = [5]> then\n                    Clone at x: [80] y: [50]\n                    Clone at x: [337] y: [50]\n                    Clone at x: [560] y: [50]\n                    Clone at x: [820] y: [50]\n                    Clone at x: [1040] y: [50]\n                    Clone at x: [1320] y: [50]\n                    Clone at x: [1540] y: [50]\n                else\n                    if <(LEVEL) = [6]> then\n                        Clone at x: [130] y: [150]\n                        Clone at x: [350] y: [150]\n                        Clone at x: [530] y: [150]\n                        Clone at x: [730] y: [150]\n                        Clone at x: [900] y: [150]\n                        Clone at x: [1200] y: [100]\n                        Clone at x: [1400] y: [100]\n                        Clone at x: [2100] y: [130]\n                    else\n                        if <(LEVEL) = [7]> then\n                            Clone at x: [100] y: [50]\n                            Clone at x: [500] y: [150]\n                            Clone at x: [900] y: [170]\n                        else\n                            if <(LEVEL) = [8]> then\n                                Clone at x: [100] y: [50]\n                                Clone at x: [320] y: [100]\n                                Clone at x: [550] y: [150]\n                                Clone at x: [750] y: [190]\n                                Clone at x: [930] y: [270]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [green flag v]\nhide\n\nshow\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (player v)?> then\n    change [collected v] by (1)\n    if <(COLLECTED) = (COLLECTED MAX)> then\n        broadcast (Open Portal v)\n    end\n    delete this clone\nend\n\ncreate clone of (_myself_ v)\n\nnext costume\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\n\nswitch costume to (dot v)\n\nswitch costume to (dot v)\n\nwhen flag clicked\n\nwhen I start as a clone\nswitch costume to (costume7 v)\n\nClone at x: [120] y: [27]\n\nClone at x: [220] y: [90]\nClone at x: [130] y: [50]\n\nnext costume\n\nforever\n\nClone at x: [1300] y: [50]\nClone at x: [1800] y: [50]\nClone at x: [2100] y: [50]\n\nClone at x: [337] y: [50]\nClone at x: [560] y: [50]\nClone at x: [820] y: [50]\nClone at x: [1040] y: [50]\nClone at x: [1320] y: [50]\n\nClone at x: [130] y: [150]\nClone at x: [350] y: [150]\nClone at x: [530] y: [150]\nClone at x: [730] y: [150]\nClone at x: [900] y: [150]\nClone at x: [1200] y: [100]\nClone at x: [1400] y: [100]\nClone at x: [2100] y: [130]\n\nClone at x: [500] y: [150]\nClone at x: [900] y: [170]\n\n@Player2\n\nwhen I receive [die v]\nswitch costume to ([costume # v] of [player v])\nshow\npoint in direction (90)\ngo to (player v)\nrepeat (8)\n    change y by (12)\nend\nrepeat until <(y position) < [-179]>\n    change y by (-15)\n    turn right (20) degrees\nend\npoint in direction (90)\nhide\nset [respawn v] to [1]\nwait (0.01) seconds\nset [respawn v] to [0]\n\nturn right (15) degrees\n\nwhen flag clicked\nhide\nset [respawn v] to [0]\n\nwait (0.01) seconds\n\nif <(costume [number v]) = [1]> then\nelse\nend\n\nrepeat (10)\n    change y by (10)\n    turn right (-15) degrees\nend\nrepeat until <(y position) < [-179]>\n    change y by (-7)\n    turn right (-15) degrees\nend\npoint in direction (90)\nhide\nset [respawn v] to [1]\nwait (0.01) seconds\nset [respawn v] to [0]\n\nif <(no need) = [0]> then\nend\n\nrepeat (2)\n    change y by (-6)\nend\n\ngo to (random position v)\n\n@letters on intro\n\nwhen flag clicked\nhide\nwait (6) seconds\nshow\nwait (0.5) seconds\ncreate clone of (_myself_ v)\nwait (2) seconds\nhide\n\ngo to [front v] layer\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nwait (2) seconds\nhide\n\nturn right (15) degrees\n\n@intro\n\nwhen flag clicked\nhide\nwait (5) seconds\nshow\nswitch costume to (gsssrfvjuzkvmxmemyjyj5 v)\nrepeat (36)\n    next costume\n    wait (0.05) seconds\nend\nhide\n\n@Sprite1\n\nwhen I receive [message1 v]\n\nforever\nend\n\nwhen flag clicked\n\nstart sound [recording1 v]\nstart sound [Unity v]\nstart sound [Alan Walker - Faded \[mp3clan\] v]\n\nwhen flag clicked\nshow\npoint in direction (90)\ngo to x: (-100) y: (0)\nrepeat (10)\n    change x by (10)\nend\nset size to (100) %\nwait (1) seconds\nrepeat (5)\n    change size by (-10)\n    wait (0.01) seconds\nend\nwait (0.2) seconds\nrepeat (2)\n    change size by (25)\n    wait (0.01) seconds\nend\nrepeat (10)\n    change size by (-2.5)\n    wait (0.01) seconds\nend\nrepeat (10)\n    turn left (36) degrees\n    wait (0.01) seconds\nend\nrepeat (10)\n    turn left (-36) degrees\n    wait (0.01) seconds\nend\nhide\n\nwait (0.5) seconds\n\nchange y by (10)\n\nrepeat (20)\n    change y by (-10)\nend\nrepeat (10)\n    change y by (10)\nend\n\nwhen flag clicked\nrepeat (36)\n    turn left (10) degrees\nend\n\nwait (0.01) seconds\n\nrepeat (100)\n    point in direction (45)\n    move (10) steps\n    if on edge, bounce\nend\n\nwait (1) seconds\n\nwait (0.5) seconds\n\nwait (0.5) seconds\n\nrepeat (10)\n    change volume by (-10)\nend\nstop [other scripts in sprite v]\nwait (1) seconds\nset volume to (100) %\n\n@Sprite4\n\nwhen flag clicked\nwait (1) seconds\nshow\nwait (4) seconds\nhide\n\n@Sprite5\n\nwhen flag clicked\nswitch costume to (costume1 v)\nset size to (100) %\nhide\nwait (3) seconds\nshow\ngo to x: (0) y: (-200)\nset [y speed v] to [19]\nrepeat (20)\n    change y by (y speed)\n    change [y speed v] by (-1)\nend\nrepeat (25)\n    switch costume to (costume3 v)\n    change size by (((1800) - (size)) / (6))\n    switch costume to (costume1 v)\nend\nswitch costume to (costume2 v)\nwait (0.5) seconds\nhide\n\nglide (0.5) secs to x: (0) y: (-400)\n\ngo to x: (0) y: (5)\n\n@Sprite3\n\nwhen I receive [message1 v]\nhide\n\nwhen flag clicked\nshow\npoint in direction (90)\ngo to x: (100) y: (0)\nrepeat (10)\n    change x by (-10)\nend\nset size to (100) %\nwait (1) seconds\nrepeat (5)\n    change size by (-10)\n    wait (0.01) seconds\nend\nwait (0.2) seconds\nrepeat (2)\n    change size by (25)\n    wait (0.01) seconds\nend\nrepeat (10)\n    change size by (-2.5)\n    wait (0.01) seconds\nend\nrepeat (10)\n    turn left (36) degrees\n    wait (0.01) seconds\nend\nrepeat (10)\n    turn left (-36) degrees\n    wait (0.01) seconds\nend\nhide\n\nrepeat (10)\n    change y by (10)\nend\nrepeat (20)\n    change y by (-10)\nend\nrepeat (10)\n    change y by (10)\nend\n\nturn right (36) degrees\n\nwhen flag clicked\nrepeat (36)\n    turn left (-10) degrees\nend\n\nrepeat (100)\n    point in direction (135)\n    move (10) steps\n    if on edge, bounce\nend\n\nwait (0.5) seconds\n\nwait (0.5) seconds\n\nwait (0.5) seconds\n\n