NEON 2 (the scrolling platformer)

Instructions:           N E O N 2\n         mobile/computer\n         (Rolling platform)\n          By @T_PLAN\nlove & fav by @Coltroc !\n||please leave a love||and then I'll make Neon:Rebirth\n ∷ X coordinate open world(if you can't fall XD)\n ∷ check "T" to skip a level =)\n ∷ 10 levels (hader then NEON 1)\n ∷ use ← → keys/tap left right screen to move\n ∷ use ↑ key/tap above of screen to jump\n ∷ yellow can make you jump high\n ∷ red / fall can make you die\n ∷ touch green to go to the next level\n ∷ sky blue can make you run fast~\n ∷ brown make you run slowly\n\n 〼 music: Recollection (by Lightscape)\n 〼 If you like this game don't forget leave a ❤️ and ⭐!\n\n#games #platformer #art #all #music #stories #T_PLAN #animations #popular #trending

@Stage\n\nwhen I receive [2 v]\nforever\n    play sound [Lightscape - Recollection v] until done\nend\n\n@Nlogo2\n\ndefine 背景\npen up\nset pen color to (#8a55d7)\nset pen size to (250)\nset pen shade to (30)\ngo to x: (0) y: (10000)\npen down\nstart sound [BeepBox-Song v]\nrepeat (15)\n    change y by (((-180) - (y position)) / (6))\nend\npen up\nset pen shade to (50)\ngo to x: (240) y: (10000)\npen down\nstart sound [BeepBox-Song v]\nrepeat (15)\n    change y by (((-180) - (y position)) / (6))\nend\npen up\nset pen shade to (20)\ngo to x: (-240) y: (10000)\npen down\nstart sound [BeepBox-Song v]\nrepeat (20)\n    change y by (((-180) - (y position)) / (6))\nend\npen up\n\ndefine 角色\nset [id v] to [1]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [id v] to [2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <not <(id) = [3]>> then\n    pen up\n    set size to (1) %\n    go to [front v] layer\n    show\n    set [ghost v] effect to (100)\n    point in direction (39)\n    if <(id) = [1]> then\n        go to x: (-4) y: (18)\n        switch costume to (nlogo4 v)\n    else\n        if <(id) = [2]> then\n            go to x: (-6) y: (-85)\n            switch costume to (nlogo3 v)\n        end\n    end\n    if <(id) = [1]> then\n        start sound [BeepBox-Song \(1\) v]\n    end\n    repeat (20)\n        change [ghost v] effect by (-5)\n        turn right (((91) - (direction)) / (6)) degrees\n    end\n    wait (2) seconds\n    if <(id) = [1]> then\n        start sound [BeepBox-Song \(2\) v]\n    end\n    set [y v] to [20]\n    broadcast (n v)\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\ndefine 反馈\nclear\n背景\n角色\nwait (3.5) seconds\n清除\nerase all\n\ndefine 清除\npen up\nset pen color to (#7f00ff)\nset pen size to (250)\ngo to x: (-240) y: (180)\npen down\nstart sound [BeepBox-Song2 v]\nrepeat (15)\n    change x by (((240) - (x position)) / (6))\nend\npen up\ngo to x: (240) y: (0)\npen down\nstart sound [BeepBox-Song2 v]\nrepeat (15)\n    change x by (((-240) - (x position)) / (6))\nend\npen up\ngo to x: (-240) y: (-189)\npen down\nstart sound [BeepBox-Song2 v]\nrepeat (15)\n    change x by (((240) - (x position)) / (6))\nend\npen up\nset [a v] to [0]\nset [n v] to [1]\nset [id v] to [3]\ncreate clone of (_myself_ v)\nbroadcast (消息1 v)\nbroadcast (2 v)\n\nwhen I start as a clone\nforever\n    if <not <(id) = [3]>> then\n        set [size v] to (((size) * (0.7)) + (((185) - (size)) / (6)))\n    end\nend\n\nwhen flag clicked\nset [n v] to [0]\nset [y v] to [0]\nhide\nset size to (1) %\nif <(a) = [1]> then\n    pen down\n    反馈\nelse\n    broadcast (消息1 v)\n    broadcast (2 v)\nend\n\nwhen I receive [n v]\nrepeat (10)\n    change [y v] by (-3)\nend\n\nwhen I start as a clone\nforever\n    if <not <(id) = [3]>> then\n        change size by (size)\n        change y by (y)\n    end\nend\n\ndefine clear\npen down\nset pen size to (250)\nset pen color to (#ffffff)\ngo to x: (-240) y: (180)\ngo to x: (-240) y: (0)\ngo to x: (-240) y: (-180)\ngo to x: (240) y: (180)\ngo to x: (240) y: (0)\ngo to x: (240) y: (-180)\n\nwhen I start as a clone\nclear graphic effects\nset size to (100) %\nif <(id) = [3]> then\n    go to x: (0) y: (0)\n    show\n    switch costume to (造型1 v)\n    go to [front v] layer\nend\nforever\n    if <(id) = [3]> then\n        if <(n) = [1]> then\n            wait (0.3) seconds\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            delete this clone\n        end\n    end\nend\n\nset [a v] to [1]\n\n@角色1\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.01)\nstart sound [recording1 v]\nset [ghost v] effect to (100)\nshow\nset size to (9999) %\nrepeat (50)\n    change [ghost v] effect by (-15)\n    change size by (((100) - (size)) / (6))\n    go to [front v] layer\nend\n\n@角色2\n\nwhen flag clicked\nset [场景x v] to [0]\nset [场景y v] to [100]\nset [x1 v] to [0]\nset [y1 v] to [0]\nhide\n\ndefine clone x: (x) y: (y) cos: (cos)\nswitch costume to (cos)\nset [x1 v] to (x)\nset y to (y)\ncreate clone of (_myself_ v)\n\ndefine p (x)\nset x to (x)\nif <(round (x)) = (round (x position))> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nforever\n    p ((X1) - (场景x))\nend\n\ndefine lvl 1\nclone x: [0] y: [100] cos: [t1]\nclone x: [0] y: [-70] cos: [1]\nclone x: [250] y: [0] cos: [1]\nclone x: [500] y: [-100] cos: [1]\nclone x: [750] y: [-130] cos: [1]\nclone x: [1000] y: [-10] cos: [1]\nclone x: [1250] y: [40] cos: [1]\nclone x: [1500] y: [-50] cos: [1]\nclone x: [1750] y: [-20] cos: [2]\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-15)\nend\n\nwhen I receive [start v]\nrepeat (1)\n    delete this clone\nend\nset [lvl v] to [1]\nlvl 1\n\nwhen I receive [next lvl v]\nwait (0.4) seconds\nrepeat (1)\n    delete this clone\nend\nchange [lvl v] by (1)\nif <(lvl) = [2]> then\n    lvl 2\nelse\n    if <(lvl) = [3]> then\n        lvl3\n    else\n        if <(lvl) = [4]> then\n            lvl4\n        else\n            if <(lvl) = [5]> then\n                lvl5\n            else\n                if <(lvl) = [6]> then\n                    lvl6\n                else\n                    if <(lvl) = [7]> then\n                        lvl7\n                    else\n                        if <(lvl) = [8]> then\n                            lvl8\n                        else\n                            if <(lvl) = [9]> then\n                                lvl9\n                            else\n                                if <(lvl) = [10]> then\n                                    lvl10\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine lvl 2\nclone x: [0] y: [100] cos: [t2]\nclone x: [0] y: [-70] cos: [1]\nclone x: [200] y: [-70] cos: [3]\nclone x: [400] y: [-70] cos: [1]\nclone x: [600] y: [-70] cos: [3]\nclone x: [800] y: [-70] cos: [1]\nclone x: [1000] y: [-70] cos: [3]\nclone x: [1200] y: [-70] cos: [1]\nclone x: [1500] y: [-70] cos: [1]\nclone x: [1850] y: [-70] cos: [1]\nclone x: [2150] y: [-70] cos: [2]\n\ndefine lvl3\nclone x: [0] y: [120] cos: [t3]\nclone x: [0] y: [-70] cos: [1]\nclone x: [200] y: [-70] cos: [4]\nclone x: [400] y: [65] cos: [1]\nclone x: [600] y: [-70] cos: [4]\nclone x: [800] y: [50] cos: [1]\nclone x: [1000] y: [-70] cos: [1]\nclone x: [1200] y: [-70] cos: [4]\nclone x: [1200] y: [130] cos: [3]\nclone x: [1400] y: [20] cos: [1]\nclone x: [1600] y: [-30] cos: [1]\nclone x: [1800] y: [50] cos: [1]\nclone x: [2000] y: [50] cos: [1]\nclone x: [2200] y: [10] cos: [2]\n\ndefine lvl4\nclone x: [0] y: [130] cos: [t4]\nclone x: [0] y: [-70] cos: [1]\nclone x: [200] y: [-70] cos: [5]\nclone x: ((200) + ((171) * (1))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (2))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (3))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (4))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (5))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (6))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (7))) y: [-50] cos: [4]\nclone x: ((200) + ((171) * (8))) y: [50] cos: [2]\n\ndefine lvl5\nclone x: [0] y: [130] cos: [t5]\nclone x: [0] y: [-70] cos: [1]\nclone x: [200] y: [-70] cos: [6]\nclone x: [400] y: [40] cos: [1]\nclone x: [600] y: [-30] cos: [6]\nclone x: [850] y: [-40] cos: [1]\nclone x: [1150] y: [-40] cos: [6]\nclone x: [1450] y: [-40] cos: [1]\nclone x: [1750] y: [-40] cos: [6]\nclone x: [1950] y: [-40] cos: [2]\n\ndefine lvl6\nclone x: [0] y: [120] cos: [t6]\nclone x: [0] y: [-70] cos: [1]\nclone x: [200] y: [0] cos: [1]\nclone x: [400] y: [50] cos: [1]\nclone x: [600] y: [-70] cos: [1]\nclone x: [800] y: [-70] cos: [1]\nclone x: [1000] y: [-70] cos: [4]\nclone x: [1200] y: [80] cos: [1]\nclone x: [1300] y: [30] cos: [3]\nclone x: [1500] y: [-50] cos: [1]\nclone x: [1700] y: [50] cos: [4]\nclone x: [1900] y: [0] cos: [4]\nclone x: [2100] y: [80] cos: [1]\nclone x: [2300] y: [-10] cos: [1]\nclone x: [2500] y: [-10] cos: [3]\nclone x: [2700] y: [-10] cos: [1]\nclone x: [2900] y: [-10] cos: [5]\nclone x: [3100] y: [-30] cos: [4]\nclone x: [3300] y: [70] cos: [1]\nclone x: [3500] y: [70] cos: [2]\n\ndefine lvl7\nclone x: [0] y: [120] cos: [t7]\nclone x: [0] y: [-70] cos: [1]\nclone x: [200] y: [-70] cos: [5]\nclone x: ((200) + ((171) * (1))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (2))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (3))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (4))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (5))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (6))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (7))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (8))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (9))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (10))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (11))) y: [-70] cos: [5]\nclone x: ((200) + ((171) * (12))) y: [-50] cos: [4]\nclone x: ((200) + ((171) * (13))) y: [50] cos: [2]\n\ndefine lvl8\nclone x: [0] y: [120] cos: [t8]\nclone x: [0] y: [-70] cos: [1]\nclone x: [200] y: [-70] cos: [1]\nclone x: [400] y: [-70] cos: [1]\nclone x: [400] y: [50] cos: [1]\nclone x: [600] y: [50] cos: [3]\nclone x: [600] y: [-30] cos: [1]\nclone x: [800] y: [-70] cos: [1]\nclone x: [1000] y: [-70] cos: [4]\nclone x: [1200] y: [110] cos: [1]\nclone x: [1400] y: [60] cos: [1]\nclone x: [1600] y: [0] cos: [1]\nclone x: [1800] y: [-50] cos: [1]\nclone x: [2000] y: [-60] cos: [3]\nclone x: [2200] y: [-60] cos: [1]\nclone x: [2400] y: [30] cos: [1]\nclone x: [2500] y: [-10] cos: [3]\nclone x: [2700] y: [30] cos: [2]\n\ndefine lvl9\nclone x: [0] y: [-70] cos: [1]\nclone x: [250] y: [0] cos: [t9]\nclone x: [450] y: [-70] cos: [2]\n\ndefine lvl10\nclone x: [0] y: [120] cos: [t10]\nclone x: [0] y: [-70] cos: [1]\nclone x: [200] y: [-70] cos: [2]\n\n@角色3\n\nwhen flag clicked\nset [speed v] to [1.5]\nset [nx v] to [0]\nset [y v] to [0]\nset [die/ v] to [0]\nhide\n\nwhen I receive [2 v]\nset [die/ v] to [0]\nset [nx v] to [0]\nset [y v] to [0]\nswitch costume to (100 \(54\) v)\ngo to x: (0) y: (0)\nset size to (200) %\nset [ghost v] effect to (100)\nwait (0.2) seconds\nbroadcast (eye v)\nshow\nrepeat (25)\n    change size by (((100) - (size)) / (5))\n    change [ghost v] effect by (-15)\nend\nbroadcast (start v)\nwait (0.2) seconds\nforever\n    if <(die/) = [0]> then\n        1\n        set [nx v] to ((nx) * (0.85))\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n            point in direction (90)\n            change [nx v] by (speed)\n        else\n            if <<key (left arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>> then\n                point in direction (-90)\n                change [nx v] by ((speed) * (-1))\n            end\n        end\n        if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n            change y by (1)\n            if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                change y by (1)\n                if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                    change y by (1)\n                    if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                        change y by (1)\n                        if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                            change y by (1)\n                            if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                                change [场景x v] by ((nx) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [20]>>> then\n                                    if <(nx) > [0]> then\n                                        set [nx v] to [-5]\n                                    else\n                                        set [nx v] to [5]\n                                    end\n                                    set [y v] to [10]\n                                else\n                                    set [nx v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y v] by (-1)\n        change y by (y)\n        if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n            change y by ((y) * (-1))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [20]>>> then\n                set [y v] to [15]\n            end\n        end\n        change y by (1)\n    end\n    outside/\n    touch color/\nend\n\ndefine outside/\nif <(场景x) < [-20]> then\n    set [场景x v] to [-20]\nend\nif <(y position) < [-180]> then\n    die\nend\n\ndefine die\nset [die/ v] to [1]\ncreate clone of (_myself_ v)\nset [y v] to [0]\nset [nx v] to [0]\nrepeat (25)\n    change y by (((0) - (y position)) / (6))\n    change [场景x v] by (((0) - (场景x)) / (6))\nend\nset [die/ v] to [0]\n\nwhen I start as a clone\nswitch costume to (100 \(54\) v)\nset size to (100) %\nrepeat (25)\n    change size by (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\ndefine 1\nif <not <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>>> then\n    change [场景x v] by (nx)\nelse\n    move (-1) steps\nend\n\ndefine touch color/\nif <color (#2887b6) is touching (#60ff42)?> then\n    win animation\nelse\n    if <color (#2887b6) is touching (#ff4242)?> then\n        die\n    else\n        if <color (#2887b6) is touching (#fff042)?> then\n            set [y v] to [20]\n        else\n            if <touching color (#ffffff)?> then\n                set [speed v] to [1.5]\n            else\n                if <touching color (#42ffca)?> then\n                    set [y v] to [1]\n                    set [speed v] to [4.5]\n                else\n                    if <touching color (#a7702b)?> then\n                        set [speed v] to [0.3]\n                    else\n                        set [speed v] to [1.5]\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine win animation\nbroadcast (hide v)\nset [die/ v] to [1]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nbroadcast (next lvl v)\n\nwhen I receive [next end v]\nset [die/ v] to [0]\nset [nx v] to [0]\nset [y v] to [0]\nswitch costume to (100 \(54\) v)\ngo to x: (0) y: (0)\nset size to (200) %\nset [ghost v] effect to (100)\nwait (0.2) seconds\nbroadcast (eye v)\nshow\nrepeat (25)\n    change size by (((100) - (size)) / (5))\n    change [ghost v] effect by (-15)\nend\nwait (0.2) seconds\nforever\n    if <(die/) = [0]> then\n        1\n        set [nx v] to ((nx) * (0.85))\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n            point in direction (90)\n            change [nx v] by (speed)\n        else\n            if <<key (left arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>> then\n                point in direction (-90)\n                change [nx v] by ((speed) * (-1))\n            end\n        end\n        if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n            change y by (1)\n            if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                change y by (1)\n                if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                    change y by (1)\n                    if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                        change y by (1)\n                        if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                            change y by (1)\n                            if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n                                change [场景x v] by ((nx) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [20]>>> then\n                                    if <(nx) > [0]> then\n                                        set [nx v] to [-5]\n                                    else\n                                        set [nx v] to [5]\n                                    end\n                                    set [y v] to [10]\n                                else\n                                    set [nx v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y v] by (-1)\n        change y by (y)\n        if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n            change y by ((y) * (-1))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<color (#2887b6) is touching (#ffffff)?> or <color (#2887b6) is touching (#a7702b)?>> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [20]>>> then\n                set [y v] to [15]\n            end\n        end\n        change y by (1)\n    end\n    outside/\n    touch color/\nend\n\nwhen I receive [next lvl v]\nstop [other scripts in sprite v]\n\nwhen I receive [skip v]\nwin animation\n\nset [y v] to [2]\n\nwhen I receive [next end v]\nif <(lvl) = [11]> then\n    stop [other scripts in sprite v]\n    broadcast (ending v)\n    switch costume to (100 \(54\) v)\n    go to x: (0) y: (0)\n    set size to (200) %\n    set [ghost v] effect to (100)\n    wait (0.2) seconds\n    broadcast (eye v)\n    show\n    repeat (25)\n        change size by (((100) - (size)) / (5))\n        change [ghost v] effect by (-15)\n    end\n    wait (1) seconds\n    broadcast (hideee v)\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\n    hide\nend\n\nwhen I receive [next end v]\nif <(lvl) = [11]> then\n    stop [other scripts in sprite v]\n    broadcast (ending v)\n    switch costume to (100 \(54\) v)\n    go to x: (0) y: (0)\n    set size to (200) %\n    set [ghost v] effect to (100)\n    wait (0.2) seconds\n    broadcast (eye v)\n    show\n    repeat (25)\n        change size by (((100) - (size)) / (5))\n        change [ghost v] effect by (-15)\n    end\n    wait (1) seconds\n    broadcast (hideee v)\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\n    hide\nend\n\nwhen I receive [next end v]\nif <(lvl) = [11]> then\n    stop [other scripts in sprite v]\n    broadcast (ending v)\n    switch costume to (100 \(54\) v)\n    go to x: (0) y: (0)\n    set size to (200) %\n    set [ghost v] effect to (100)\n    wait (0.2) seconds\n    broadcast (eye v)\n    show\n    repeat (25)\n        change size by (((100) - (size)) / (5))\n        change [ghost v] effect by (-15)\n    end\n    wait (1) seconds\n    broadcast (hideee v)\n    repeat (25)\n        change [ghost v] effect by (4)\n    end\n    hide\nend\n\n@角色4\n\nwhen flag clicked\nhide\n\nwhen I receive [eye v]\ngo to (角色3 v)\nswitch costume to (造型1 v)\ngo to [front v] layer\nset size to (0) %\nset [ghost v] effect to (100)\nshow\nrepeat (25)\n    change size by (((100) - (size)) / (5))\n    change [ghost v] effect by (-5)\nend\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n        change x by (((([x position v] of [角色3 v]) + (5)) - (x position)) / (3))\n        change y by ((([y position v] of [角色3 v]) - (y position)) / (3))\n    else\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>> then\n            change x by (((([x position v] of [角色3 v]) + (-5)) - (x position)) / (3))\n            change y by ((([y position v] of [角色3 v]) - (y position)) / (3))\n        else\n            change x by ((([x position v] of [角色3 v]) - (x position)) / (3))\n            change y by ((([y position v] of [角色3 v]) - (y position)) / (3))\n        end\n    end\nend\n\ndefine eye animate\nswitch costume to (造型1 v)\nrepeat (7)\n    next costume\nend\n\nwhen I receive [eye v]\nforever\n    wait (pick random (1) to (5)) seconds\n    eye animate\nend\n\nwhen I receive [hide v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [ending v]\nstop [other scripts in sprite v]\n\nwhen I receive [hideee v]\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nhide\n\n@角色5\n\nwhen flag clicked\nhide\n\ndefine clone (id) (times)\nset [id v] to (id)\nrepeat (times)\n    create clone of (_myself_ v)\n    change [id v] by (1)\nend\n\nwhen I start as a clone\nset size to (100) %\ngo to x: (-465) y: (0)\nshow\nif <(id) = [1]> then\n    go to [front v] layer\n    switch costume to (造型1 v)\nelse\n    if <(id) = [2]> then\n        go to [front v] layer\n        switch costume to (造型2 v)\n    else\n        if <(id) = [3]> then\n            switch costume to (造型3 v)\n        end\n    end\nend\nrepeat (20)\n    change x by (((0) - (x position)) / (3.3))\nend\nstart sound [BeepBox-Song \(29\) v]\nset [场景x v] to [0]\nif <(id) = [1]> then\n    repeat (19)\n        change y by (((y position) - (1)) * (0.3))\n    end\n    delete this clone\nelse\n    if <(id) = [2]> then\n        repeat (19)\n            change y by (((y position) - (-1)) * (0.3))\n        end\n        delete this clone\n    else\n        if <(id) = [3]> then\n            wait (0.5) seconds\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            broadcast (next end v)\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [next lvl v]\nrepeat (1)\n    delete this clone\nend\nclone [1] [3]\n\n@MOSHED-2020-4-3-15-17-19\n\nwhen flag clicked\nclear graphic effects\nhide\n\nwhen I receive [hideee v]\nwait (1.5) seconds\nshow\nset [brightness v] effect to (100)\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nwait (1) seconds\nrepeat (20)\n    change [brightness v] effect by (-7)\nend\nwait (0.3) seconds\nrepeat (20)\n    change [ghost v] effect by (6)\nend\nhide\nwait (0.3) seconds\nbroadcast (text v)\n\nwhen I receive [hideee v]\nwait (1.5) seconds\nswitch costume to (moshed-2020-4-3-15-17-19 v)\nrepeat (79)\n    next costume\nend\n\n@角色6\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nset size to (130) %\n\nwhen I receive [text v]\nswitch costume to (6 \(3\) v)\nset [ghost v] effect to (100)\nshow\nrepeat (7)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    wait (1.5) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    next costume\n    wait (1) seconds\nend\nhide\nstop [all v]\n\n@角色7\n\nwhen I receive [2 v]\nforever\n    wait until <key (t v) pressed?>\n    broadcast (skip v)\n    wait until <not <key (t v) pressed?>>\nend\n\nwhen I receive [next end v]\nif <(lvl) = [11]> then\n    stop [other scripts in sprite v]\nend\n\n