Christmas platformer #games

Instructions: 200 views really cool\nHi every one this my best project ever. Then please like and follow ? ⭐️ ?? hi can I be in trends please\nInstruction:\nmove - arrows w,a,s,d\nПривет всем это мой мой лучший проект за все время. Пожалуйста подпишитесь и поставьте лайк\nХей могу ли я быть в трендах пожалуйста\nИнструкция:\nдвижение - стрелками w,a,s,d\nHappy Christmas and New year \n200 views :0 hhhhhhhhoooooooowwwwwwwwwww\n370 views :0\n500 views AAAAAAAAaaaaaaa\n1000 views FFFNjdnjdnvdvbfjvfhnv\n

@Stage\n\nwhen [m v] key pressed\nset [mouse v] to (join ((mouse x) + (#SCROLL X)) (join [ ] ((mouse y) + (#SCROLL Y))))\n\nwhen I receive [game win v]\nstop [other scripts in sprite v]\nstop all sounds\n\n@Intro\n\nwhen I start as a clone\nif <(#) = [1]> then\n    forever\n        if <(bop) = [1]> then\n            set size to (150) %\n            repeat until <not <(bop) = [1]>>\n                change size by (((size) - (100)) / (-5))\n            end\n        end\n    end\nend\n\ngo to [front v] layer\n\ndefine Smooth Glide x: (x) y: (y) speed: (i)\nrepeat until <<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>>\n    change x by (((round (x)) - (round (x position))) / (i))\n    change y by (((round (y)) - (round (y position))) / (i))\nend\ngo to x: (x) y: (y)\n\nwhen I start as a clone\nif <(#) = [3]> then\n    switch costume to (hexagon v)\n    set size to (0) %\n    go to x: (0) y: (0)\n    show\n    set [ghost v] effect to (100)\n    repeat until <(bursted) = [8]>\n        show\n        turn right (5) degrees\n        switch costume to (costume1 v)\n        change [ghost v] effect by (-5)\n        set size to (v) %\n        change size by (7)\n        set [v v] to (size)\n        switch costume to (hexagon v)\n    end\n    delete this clone\nend\nhide\n\nwhen flag clicked\nstart sound [Marmok_-_merry_christmas_63241884 v]\ngo to x: (0) y: (0)\nset [bursted v] to [0]\nset [>## v] to [0]\nset [step v] to [0]\nset [# v] to [1]\nset [bop v] to [0]\ncreate clone of (_myself_ v)\nhide\nset [# v] to [Cloner]\ncreate clone of (_myself_ v)\nset [# v] to [CloneHub]\ncreate clone of (_myself_ v)\nwait until <(Step) = [1]>\nrepeat (5)\n    set [# v] to [>]\n    create clone of (_myself_ v)\n    wait (.1) seconds\n    set [# v] to [<]\n    create clone of (_myself_ v)\nend\nset [>## v] to [0]\nrepeat (10)\n    change [>## v] by (1)\nend\nwait until <(Step) = [2]>\nset [# v] to [> ^ <]\ncreate clone of (_myself_ v)\nset [# v] to [Spinner]\ncreate clone of (_myself_ v)\nset [# v] to [BKG]\ncreate clone of (_myself_ v)\nwait until <(bursted) = [8]>\nwait (1) seconds\nset [# v] to [Transition]\ncreate clone of (_myself_ v)\nwait until <(Step) = [5]>\nbroadcast (Intro Complete v)\n\nwhen I start as a clone\nif <(#) = [2]> then\n    switch costume to (hexagon2 v)\n    set size to (0) %\n    go to x: (0) y: (0)\n    show\n    set [ghost v] effect to (100)\n    repeat until <(bursted) = [8]>\n        show\n        turn right (5) degrees\n        switch costume to (costume1 v)\n        set size to (v) %\n        change [ghost v] effect by (-5)\n        change size by (7)\n        set [v v] to (size)\n        switch costume to (hexagon2 v)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(#) = [1]> then\n    show\n    go to [front v] layer\n    go to x: (0) y: (0)\n    set size to (100) %\n    switch costume to (logo v)\n    show\n    repeat until <(bursted) = [8]>\n        point in direction ((90) + ((5) * ([sin v] of ((timer) * (200)) )))\n        go to [front v] layer\n    end\n    wait until <(bursted) = [8]>\n    Particles2\n    repeat until <(size) = [20]>\n        turn right (5) degrees\n        change size by (-5)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(#) = [Particles]> then\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\n    switch costume to (particles v)\n    if <(Step) < [3]> then\n        switch costume to (particles v)\n    else\n        switch costume to (particles2 v)\n    end\n    show\n    go to [front v] layer\n    clear graphic effects\n    set size to (0) %\n    point in direction ((90) + ((>) * (60)))\n    move (100) steps\n    repeat (10)\n        go to [front v] layer\n        move (1.5) steps\n        turn right (1.5) degrees\n        change size by (5)\n    end\n    repeat (10)\n        go to [front v] layer\n        change [ghost v] effect by (10)\n        move (1) steps\n        turn right (1) degrees\n        change size by (-10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nset [> v] to [0]\nif <(#) = [Cloner]> then\n    hide\n    repeat until <(bursted) = [8]>\n        repeat (10)\n            change [> v] by (1)\n            set [# v] to [Particles]\n            create clone of (_myself_ v)\n        end\n        wait (1) seconds\n        repeat (10)\n            change [> v] by (1)\n            set [# v] to [Particles]\n            create clone of (_myself_ v)\n        end\n        wait (1) seconds\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(#) = [CloneHub]> then\n    hide\n    repeat (5)\n        change [# v] by (1)\n        create clone of (_myself_ v)\n        wait (.5) seconds\n        change [# v] by (1)\n        create clone of (_myself_ v)\n        set [# v] to [1]\n        wait (.5) seconds\n    end\n    set [step v] to [1]\nend\n\nwhen I start as a clone\nif <(#) = [>]> then\n    wait ((>##) / (5)) seconds\n    wait () seconds\n    set [brightness v] effect to ((>##) * (-2))\n    switch costume to (> v)\n    show\n    go to x: (-100000) y: (0)\n    Smooth Glide x: (-10) y: (0) speed: (6)\n    set [step v] to [2]\n    wait (1) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(#) = [<]> then\n    wait ((>##) / (5)) seconds\n    set [brightness v] effect to ((>##) * (-2))\n    switch costume to (< v)\n    show\n    go to x: (10000000) y: (0)\n    Smooth Glide x: (0) y: (0) speed: (6)\n    wait (1) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(#) = [Explosion]> then\n    set rotation style [all around v]\n    go to x: (100) y: (100)\n    switch costume to (line v)\n    show\n    set size to (100) %\n    go to [front v] layer\n    hide\n    set [ghost v] effect to (0)\n    repeat (14)\n        next costume\n        wait (.1) seconds\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(#) = [ExplosionBase]> then\n    switch costume to (line v)\n    hide\n    set [# v] to [Explosion]\n    point in direction (-90)\n    repeat (4)\n        set [# v] to [Explosion]\n        create clone of (_myself_ v)\n        turn right (90) degrees\n        wait (.1) seconds\n    end\nend\n\nwhen I start as a clone\nif <(#) = [> ^ <]> then\n    switch costume to (> ^ < v)\n    show\n    repeat until <(bursted) = [8]>\n        turn right (spin) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(#) = [Spinner]> then\n    switch costume to (> ^ <2 v)\n    show\n    switch costume to (costume1 v)\n    set size to (150) %\n    switch costume to (> ^ <2 v)\n    repeat until <(bursted) = [8]>\n        turn right (20) degrees\n        go to [front v] layer\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(#) = [BKG]> then\n    switch costume to (bk1 v)\n    set [step v] to [3]\n    repeat until <(Step) = [5]>\n        go to x: (0) y: (0)\n        point in direction ((90) + ((5) * ([sin v] of ((timer) * (200)) )))\n    end\n    delete this clone\nend\n\nwhen flag clicked\nwait until <(Step) = [2]>\nforever\n    broadcast (Burst v)\nend\n\nwhen I receive [burst v]\nset [spin? v] to [1]\nset [burst? v] to [1]\n\nwhen I start as a clone\nif <(#) = [BKG]> then\n    repeat until <(bursted) = [8]>\n        show\n        set size to (150) %\n        go to x: (0) y: (0)\n        wait until <(burst?) = [1]>\n        set [bop v] to [1]\n        change [bursted v] by (1)\n        set [size v] to ((size) - ((size) / (1.45)))\n        repeat until <(size) < [1]>\n            change [size v] by (-2)\n            switch costume to (costume1 v)\n            change size by (size)\n            switch costume to (bk1 v)\n        end\n        set [bop v] to [0]\n        if <(size) > [3294]> then\n            set [size v] to [0]\n            set size to (114) %\n        end\n        if <(size) = [114]> then\n            hide\n        end\n    end\n    wait (.8) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\nend\n\ngo to x: (-20) y: (20)\n\nwhen I start as a clone\nif <(#) = [> ^ <]> then\n    repeat until <(bursted) = [8]>\n        wait until <(spin?) = [1]>\n        set [spin v] to [40]\n        repeat (20)\n            change [spin v] by (-1)\n        end\n    end\nend\n\nwhen I start as a clone\nif <(#) = [Transition]> then\n    show\n    go to [front v] layer\n    switch costume to (transition v)\n    go to x: (0) y: (-500)\n    Smooth Glide x: (0) y: (0) speed: (6)\n    go to [front v] layer\n    set [step v] to [5]\n    repeat (20)\n        show\n        change [ghost v] effect by (5)\n    end\nend\n\ndefine Particles2\nset [# v] to [ExplodeParticles]\nrepeat (25)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(Step) = [5]> then\n    delete this clone\nend\nif <(#) = [ExplodeParticles]> then\n    switch costume to (pick random (30) to (32))\n    set size to (100) %\n    set [brightness v] effect to (pick random (-25) to (50))\n    set [ghost v] effect to (pick random (0) to (25))\n    show\n    set [x v] to (pick random (-15) to (15))\n    set [y v] to (pick random (5) to (17))\n    repeat until <touching (_edge_ v)?>\n        change [y v] by (-1)\n        change x by (x)\n        change y by (y)\n        if <[1] < (x)> then\n            change [x v] by (-0.5)\n        end\n        if <(x) < [-1]> then\n            change [x v] by (0.5)\n        end\n        turn right ((size) / (7)) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nwait until <(Step) = [5]>\nset [brightness v] effect to (100)\nrepeat (40)\ndelete this clone\n\nwhen flag clicked\nwait until <(Step) = [2]>\nforever\n    wait (pick random (.5) to (1.5)) seconds\n    Particles\n    wait (pick random (.5) to (1.5)) seconds\nend\n\ndefine Particles\nset [# v] to [ExplodeParticles2]\nrepeat (25)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(Step) = [5]> then\n    delete this clone\nend\nif <(#) = [ExplodeParticles2]> then\n    switch costume to (pick random (33) to (35))\n    set size to (100) %\n    set [brightness v] effect to (pick random (-25) to (50))\n    set [ghost v] effect to (pick random (0) to (25))\n    show\n    set [x v] to (pick random (-15) to (15))\n    set [y v] to (pick random (5) to (17))\n    repeat until <touching (_edge_ v)?>\n        change [y v] by (-1)\n        change x by (x)\n        change y by (y)\n        if <[1] < (x)> then\n            change [x v] by (-0.5)\n        end\n        if <(x) < [-1]> then\n            change [x v] by (0.5)\n        end\n        turn right ((size) / (7)) degrees\n    end\n    delete this clone\nend\n\nwhen flag clicked\nSmooth Glide x: (10) y: (10) speed: (5)\n\nwhen flag clicked\nwait (15) seconds\nbroadcast (Play v)\n\nwhen I receive [outro v]\nstart sound [Marmok_-_merry_christmas_63241884 v]\ngo to x: (0) y: (0)\nset [bursted v] to [0]\nset [>## v] to [0]\nset [step v] to [0]\nset [# v] to [1]\nset [bop v] to [0]\ncreate clone of (_myself_ v)\nhide\nset [# v] to [Cloner]\ncreate clone of (_myself_ v)\nset [# v] to [CloneHub]\ncreate clone of (_myself_ v)\nwait until <(Step) = [1]>\nrepeat (5)\n    set [# v] to [>]\n    create clone of (_myself_ v)\n    wait (.1) seconds\n    set [# v] to [<]\n    create clone of (_myself_ v)\nend\nset [>## v] to [0]\nrepeat (10)\n    change [>## v] by (1)\nend\nwait until <(Step) = [2]>\nset [# v] to [> ^ <]\ncreate clone of (_myself_ v)\nset [# v] to [Spinner]\ncreate clone of (_myself_ v)\nset [# v] to [BKG]\ncreate clone of (_myself_ v)\nwait until <(bursted) = [8]>\nwait (1) seconds\nset [# v] to [Transition]\ncreate clone of (_myself_ v)\nwait until <(Step) = [5]>\nbroadcast (Intro Complete v)\n\nwhen I receive [outro v]\nwait (15) seconds\nstop [all v]\n\n@Player\n\nwhen I receive [play v]\nset [level v] to [1]\nstop all sounds\nbroadcast (green flag v)\n\nwhen I receive [green flag v]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Set up v) and wait\n    Game on\n    repeat until <not <(exit) = []>>\n        Tick\n        broadcast (Tick v) and wait\n    end\n    if <(exit) = [win]> then\n        Game win\n    else\n        Game Die\n    end\nend\n\ndefine Game on\nset size to (100) %\nclear graphic effects\nset [sx v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [#scroll x v] to [0]\nset [#scroll y v] to [0]\nset [#x v] to [0]\nset [#y v] to [0]\nset [exit v] to []\nshow\n\ndefine Tick\nswitch costume to (hitbox v)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    set [direction v] to [90]\n    change [sx v] by (1)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    set [direction v] to [-90]\n    change [sx v] by (-1)\nend\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n    if <(in air) < [4]> then\n        set [sy v] to [14]\n    end\nend\nif <touching (tramplin v)?> then\n    set [sy v] to [25]\nend\nset [sx v] to ((sx) * (0.9))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change x by (sx)\nend\nchange [sy v] by (-1)\nChange y by (sy)\nTest - die\nchange [#scroll x v] by (round (((#x) - (#SCROLL X)) / (10)))\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\npoint in direction (direction)\nchange y by (-1)\nSet costume\n\ndefine Change x by (sx)\nchange [#x v] by (sx)\nPosition\nif <touching (level v)?> then\n    repeat (12)\n        change [#y v] by (1)\n        Position\n        if <not <touching (level v)?>> then\n            stop [this script v]\n        end\n    end\n    change [#y v] by (-12)\n    repeat until <not <touching (level 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 Change y by (sy)\nchange [in air v] by (1)\nchange [#y v] by (sy)\nPosition\nrepeat until <not <touching (level 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\nwhen flag clicked\nhide\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\nchange [level v] by (1)\nset [exit v] to []\nshow\n\ndefine Game Die\nset [exit v] to []\nhide\nwait (0.5) seconds\nshow\n\ndefine Test - die\nif <touching (danger v)?> then\n    set [exit v] to [die]\nend\n\ndefine Set costume\nswitch costume to (player v)\n\nwhen I receive [game win v]\nstop all sounds\nstop [other scripts in sprite v]\nhide\nbroadcast (outro v)\n\nwhen I receive [game win v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Level\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (#SCROLL X)) ((y) - (#SCROLL Y))\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 receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(Level) = [1]> then\n    switch costume to (1 v)\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\nelse\n    if <(Level) = [2]> then\n        switch costume to (5 v)\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n        Clone at x: [460] y: [0]\n    else\n        if <(Level) = [3]> then\n            switch costume to (8 v)\n            Clone at x: [460] y: [0]\n            Clone at x: [460] y: [0]\n            Clone at x: [470] y: [0]\n        else\n            if <(Level) = [4]> then\n                switch costume to (12 v)\n                Clone at x: [460] y: [0]\n                Clone at x: [340] y: [300]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n                Clone at x: [340] y: [-300]\n                Clone at x: [460] y: [0]\n                Clone at x: [460] y: [0]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nset [x v] to [-9999999]\n\nwhen I receive [game win v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Collectibles \n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (#SCROLL X)) ((y) - (#SCROLL Y))\nif <touching (player v)?> then\n    start sound [Coin v]\n    delete this clone\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)\nset [x v] to (x)\nset [y v] to (y)\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(Level) = [1]> then\n    switch costume to (present  v)\n    Clone at x: [341] y: [25]\n    Clone at x: [436] y: [68]\n    Clone at x: [557] y: [132]\n    Clone at x: [858] y: [-63]\n    Clone at x: [915] y: [-16]\n    Clone at x: [978] y: [-63]\nelse\n    if <(Level) = [2]> then\n        Clone at x: [410] y: [-32]\n        Clone at x: [453] y: [-32]\n        Clone at x: [529] y: [-32]\n        Clone at x: [839] y: [-26]\n    else\n        if <(Level) = [3]> then\n            Clone at x: [234] y: [27]\n            Clone at x: [321] y: [27]\n            Clone at x: [400] y: [27]\n            Clone at x: [486] y: [27]\n            Clone at x: [563] y: [27]\n            Clone at x: [677] y: [27]\n            Clone at x: [784] y: [27]\n            Clone at x: [862] y: [27]\n            Clone at x: [944] y: [27]\n            Clone at x: [1016] y: [27]\n            Clone at x: [1116] y: [27]\n            Clone at x: [-99999999999] y: [-999999999999]\n        end\n    end\nend\nset [x v] to [-9999999999]\nset [y v] to [-9999999999]\n\nwhen flag clicked\nset [time v] to [0]\nhide\n\nwhen I receive [green flag v]\nforever\n    change [time v] by (0.04)\nend\n\nwhen I receive [game win v]\nif <(☁ Time) > (Time)> then\n    set [☁ time v] to (Time)\nend\n\nwhen I receive [game lose v]\nif <(☁ Time) > (Time)> then\n    set [☁ time v] to (Time)\nend\n\nwhen I receive [game win v]\nhide\n\nwhen I receive [game win v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@exit\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (#SCROLL X)) ((y) - (#SCROLL Y))\nif <(Level) = [4]> then\n    if <<(costume [name v]) = [open]> and <touching (player v)?>> then\n        broadcast (Game win v)\n        set [exit v] to [win]\n    end\nelse\n    if <<(costume [name v]) = [open]> and <touching (player v)?>> then\n        set [exit v] to [win]\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)\nset [x v] to (x)\nset [y v] to (y)\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(Level) = [1]> then\n    switch costume to (open v)\n    Clone at x: [1154] y: [140]\nelse\n    if <(Level) = [2]> then\n        Clone at x: [1662] y: [-50]\n    else\n        if <(Level) = [3]> then\n            Clone at x: [1662] y: [-50]\n        else\n            if <(Level) = [4]> then\n                Clone at x: [4177] y: [-24]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [time v] to [0]\nhide\n\nbroadcast (Game win v)\nset [exit v] to [win]\n\nwhen I receive [game win v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Danger\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (#SCROLL X)) ((y) - (#SCROLL Y))\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 receive [set up 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: [460] y: [0]\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\n    Clone at x: [460] y: [0]\nelse\n    if <(Level) = [2]> then\n        switch costume to (level 2-1 v)\n    else\n        if <(Level) = [3]> then\n            Clone at x: [-999999] y: [-999999]\n        else\n            if <(Level) = [4]> then\n                Clone at x: [-999999] y: [-999999]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nset [x v] to [-9999999]\n\nwhen I receive [game win v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nswitch costume to (level 2-1 v)\n\n@tramplin\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (#SCROLL X)) ((y) - (#SCROLL Y))\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 [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(Level) = [1]> then\n    Clone at x: [1504] y: [-73]\nelse\n    if <(Level) = [2]> then\n        Clone at x: [344] y: [-32]\n    else\n        if <(Level) = [3]> then\n            Clone at x: [-999999] y: [-9999999]\n        else\n            if <(Level) = [4]> then\n                Clone at x: [-999999] y: [-9999999]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [time v] to [0]\nhide\n\nshow variable [☁ time v]\n\nwhen I receive [game win v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\nwait (0.2) seconds\n\nrepeat (4)\n    next costume\nend\nrepeat (4)\n    switch costume to ((costume [number v]) - (1))\nend\n\nif <touching (player v)?> then\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n