Grassland: A platformer 2

Instructions:    >>>>>>>>>>>>>INSTRUCTIONS<<<<<<<<<<<<<    \n-------------------------------------------------------------------------\nI know you Humans have been waiting for This!\n\nYes! #109 on trending I know its not that good but its my first time being on trending\n\n1️⃣ WASD Or Arrows to move\n\n2️⃣ Don't touch lava or spikes\n\n3️⃣ Try your best!\n\n4️⃣ Love and fav And maybe a follow? Eh.. Your choice\n\nIf you haven't played the first one then What are you doing?! Check it out! (Again your choice)\nhttps://scratch.mit.edu/projects/526876781/

@Stage\n\nwhen flag clicked\nset [the level v] to [1]\nforever\n    switch backdrop to (The Level)\nend\n\nwhen backdrop switches to [f v]\n\nwhen I receive [intro end v]\nforever\n    play sound [TheFatRat - Unity v] until done\nend\n\nwhen I receive [done v]\n\nforever\n\nforever\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [6]> then\n        broadcast (done v)\n    end\nend\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nwhen I receive [intro end v]\nshow\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x velocity v] by (-1.5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x velocity v] by (1.5)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((X Velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <(X Velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (ground v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n        if <touching (lava v)?> then\n            broadcast (Reset v)\n        end\n    end\nend\n\nwhen I receive [outro v]\nhide\n\n@Ground\n\nwhen I receive [outro v]\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [intro end v]\nshow\nforever\n    switch costume to (The Level)\nend\n\nwhen I receive [outro v]\nforever\n    hide\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Lava\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set y to (Magma)\n    switch costume to (The Level)\nend\n\nwhen flag clicked\nshow\nforever\n    set [magma v] to [0]\n    repeat (10)\n        change [magma v] by (1)\n    end\n    repeat (20)\n        change [magma v] by (-1)\n    end\n    repeat (10)\n        change [magma v] by (1)\n    end\nend\n\n@Thumbnail\n\nwhen I receive [intro end v]\nset [ghost v] effect to (100)\nrepeat (20)\n    change [ghost v] effect by (-5)\n    wait (1) seconds\nend\nwait (3) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nwhen [timer v] > (STOP TIMER)\nhide variable [level v]\nhide variable [timer v]\nhide variable [deaths v]\ngo to x: (0) y: (300)\nshow\nglide (0.5) secs to x: (0) y: (0)\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo [forward v] (99) layers\nhide\nset [stop timer v] to [0.1]\nforever\n    set [stop timer v] to ((timer) + (0.1))\nend\n\nwhen flag clicked\nreset timer\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(Love) = [1]> and <(Favorite) = [1]>>> then\n        wait (pick random (30) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Intro\n\ndefine 📷Smooth rotate to angle: (rangle) Speed: (rspeed)\nrepeat until <(round (rangle)) = (round (direction))>\n    turn right (((round (rangle)) - (round (direction))) / (rspeed)) degrees\nend\n\ndefine 📷 smooth glide to x: (sx) y: (sy) Speed: (sspeed)\nrepeat until <<(round (sx)) = (round (x position))> and <(round (sy)) = (round (y position))>>\n    change x by (((round (sx)) - (round (x position))) / (sspeed))\n    change y by (((round (sy)) - (round (y position))) / (sspeed))\nend\ngo to x: (sx) y: (sy)\n\ndefine 📷 Smooth change size to size: (csize) Speed: (cspeed)\nrepeat until <(round (csize)) = (round (size))>\n    change size by (((round (csize)) - (round (size))) / (cspeed))\nend\n\ndefine 💥 Spin\nrepeat (2)\n    turn right (1) degrees\nend\nrepeat (2)\n    turn right (2) degrees\nend\nrepeat (2)\n    turn right (3) degrees\nend\nrepeat (2)\n    turn right (4) degrees\nend\nrepeat (2)\n    turn right (10) degrees\nend\nrepeat (2)\n    turn right (25) degrees\nend\nrepeat (3)\n    turn right (60) degrees\nend\nrepeat (2)\n    turn right (25) degrees\nend\nrepeat (2)\n    turn right (10) degrees\nend\nrepeat (2)\n    turn right (4) degrees\nend\nrepeat (2)\n    turn right (3) degrees\nend\nrepeat (2)\n    turn right (2) degrees\nend\nrepeat (1)\n    turn right (1) degrees\nend\nrepeat (2)\n    turn right (0.5) degrees\nend\n\nwhen flag clicked\nplay sound [bufu - helvetican2 v] until done\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nwait (0.5) seconds\nshow\nset size to (20) %\npoint in direction (90)\n📷 Smooth change size to size: [100] Speed: [3]\n\nwhen flag clicked\nwait (0.7) seconds\n💥 Spin\n\nwhen flag clicked\nwait (1) seconds\nset size to (50) %\n📷 Smooth change size to size: [100] Speed: [5]\n\nwhen flag clicked\nwait (1.5) seconds\nset size to (80) %\n📷 Smooth change size to size: [100] Speed: [5]\n\nwhen flag clicked\nwait (1.5) seconds\npoint in direction (95)\n📷Smooth rotate to angle: [90] Speed: [5]\n\nwhen flag clicked\nwait (1.5) seconds\nshake\n\ndefine shake\nbroadcast (shake v)\n\nwhen flag clicked\nwait (1) seconds\nshake\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nwait (0.5) seconds\nshake\n\nwhen flag clicked\nwait (1.8) seconds\nset size to (130) %\n📷 Smooth change size to size: [100] Speed: [5]\n\nwhen flag clicked\nwait (2.1) seconds\nset size to (110) %\n📷 Smooth change size to size: [100] Speed: [5]\n\nwhen flag clicked\nwait (2.4) seconds\nset size to (120) %\n📷 Smooth change size to size: [90] Speed: [5]\n\nwhen flag clicked\nwait (2.4) seconds\nshake\n\nwhen flag clicked\nwait (1.8) seconds\nshake\n\nwhen flag clicked\nwait (2.1) seconds\nshake\n\nwhen flag clicked\nwait (1.8) seconds\npoint in direction (85)\n📷Smooth rotate to angle: [90] Speed: [5]\npoint in direction (90)\n\nwhen flag clicked\nwait (2) seconds\ngo to x: (0) y: (0)\nrepeat (2)\n    change x by (0.5)\nend\nrepeat (2)\n    change x by (1)\nend\nrepeat (2)\n    change x by (2)\nend\nrepeat (2)\n    change x by (4)\nend\nrepeat (2)\n    change x by (8)\nend\nrepeat (2)\n    change x by (16)\nend\nrepeat (2)\n    change x by (32)\nend\nrepeat (2)\n    change x by (64)\nend\ngo to x: (-255) y: (0)\n📷 smooth glide to x: [] y: [] Speed: [5]\n\nwhen flag clicked\nwait (3) seconds\nset size to (130) %\n📷 Smooth change size to size: [100] Speed: [5]\n\nwhen flag clicked\nwait (3) seconds\nshake\n\nwhen flag clicked\nwait (3.4) seconds\nshake\n\nwhen flag clicked\nwait (3.4) seconds\nset size to (110) %\n📷 Smooth change size to size: [100] Speed: [5]\n\nwhen flag clicked\nwait (3) seconds\npoint in direction (80)\n📷Smooth rotate to angle: [90] Speed: [5]\npoint in direction (90)\n\nwhen flag clicked\nwait (3.4) seconds\npoint in direction (100)\n📷Smooth rotate to angle: [90] Speed: [5]\npoint in direction (90)\n\nwhen flag clicked\nwait (3.6) seconds\nshake\n\nwhen flag clicked\nwait (3.6) seconds\nset size to (120) %\n📷 Smooth change size to size: [100] Speed: [5]\n\nwhen flag clicked\nset rotation style [all around v]\nwait (4) seconds\nshake\n\nwhen flag clicked\nwait (4) seconds\nrepeat (2)\n    change size by (-2)\nend\nrepeat (4)\n    change size by (-35)\nend\nhide\n\nwhen flag clicked\nswitch costume to (costume1 v)\nclone id [6]\nclone id [5]\n\ndefine clone id (id)\nset [cloneid v] to (id)\ncreate clone of (_myself_ v)\nwait (0) seconds\n\nwhen I start as a clone\n\ndefine pixel spline 1\nclone id [1]\nrepeat (10)\n    clone id [2]\nend\n\nwhen I start as a clone\nif <(cloneid) = [1]> then\n    switch costume to (costume2 v)\n    set size to (100) %\n    show\n    point in direction (-90)\n    go to x: (-50) y: (-150)\n    set [ghost v] effect to (100)\n    repeat (100)\n        turn right (5) degrees\n        move (10) steps\n    end\n    delete this clone\nelse\n    if <(cloneid) = [2]> then\n        set rotation style [left-right v]\n        go to [front v] layer\n        show\n        switch costume to (costume2 v)\n        point in direction (-90)\n        go to x: (-50) y: (-120)\n        repeat (100)\n            turn right (5) degrees\n            move (10) steps\n        end\n        delete this clone\n    else\n        if <(cloneid) = [3]> then\n            switch costume to (costume2 v)\n            set size to (100) %\n            show\n            point in direction (-90)\n            go to x: (50) y: (-150)\n            set [ghost v] effect to (100)\n            repeat (100)\n                turn right (5) degrees\n                move (10) steps\n            end\n            delete this clone\n        else\n            if <(cloneid) = [4]> then\n                set rotation style [left-right v]\n                go to [front v] layer\n                set [brightness v] effect to (0)\n                show\n                switch costume to (costume2 v)\n                point in direction (90)\n                go to x: (50) y: (120)\n                repeat (100)\n                    turn right (5) degrees\n                    move (10) steps\n                end\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.3) seconds\npixel spline 1\n\nwhen I start as a clone\nif <(cloneid) = [2]> then\n    set [ghost v] effect to (100)\n    set size to (1) %\n    repeat (20)\n        change size by (5)\n        change [ghost v] effect by (-10)\n    end\n    repeat (10)\n        change size by (-10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nelse\n    if <(cloneid) = [4]> then\n        set [ghost v] effect to (100)\n        set size to (1) %\n        repeat (20)\n            change size by (5)\n            change [ghost v] effect by (-10)\n        end\n        repeat (10)\n            change size by (-10)\n            change [ghost v] effect by (10)\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(cloneid) = [2]> then\n    forever\n        change x by (pick random (1) to (-1))\n        change y by (pick random (1) to (-1))\n    end\nelse\n    if <(cloneid) = [4]> then\n        forever\n            change x by (pick random (1) to (-1))\n            change y by (pick random (1) to (-1))\n        end\n    end\nend\n\ndefine pixel spline 2\nclone id [3]\nrepeat (10)\n    clone id [4]\nend\n\nwhen flag clicked\nwait (0.3) seconds\npixel spline 2\n\nwhen I start as a clone\nif <(cloneid) = [5]> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (costume3 v)\n    go to [back v] layer\n    set size to (100) %\n    show\nend\n\nwhen I start as a clone\nif <(cloneid) = [6]> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (costume4 v)\n    go to [front v] layer\n    set size to (150) %\n    show\n    📷 Smooth change size to size: [100] Speed: [10]\nend\n\nwhen flag clicked\nwait (0.2) seconds\nclone id [7]\nwait (0.2) seconds\nclone id [8]\nwait (0.2) seconds\nclone id [9]\nwait (0.2) seconds\nclone id [10]\nwait (0.2) seconds\nclone id [11]\nwait (0.2) seconds\nclone id [12]\nwait (1.4) seconds\nclone id [13]\nwait (0.2) seconds\nclone id [14]\nwait (0.2) seconds\nclone id [15]\nwait (0.2) seconds\nclone id [16]\nwait (0.2) seconds\nbroadcast (intro end v)\n\nwhen I start as a clone\nif <(cloneid) = [7]> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (costume5 v)\n    go to [back v] layer\n    go [forward v] (1) layers\n    set size to (10) %\n    show\n    clear graphic effects\n    📷 Smooth change size to size: [182] Speed: [6]\n    delete this clone\nelse\n    if <(cloneid) = [8]> then\n        go to x: (0) y: (0)\n        point in direction (90)\n        switch costume to (costume5 v)\n        set [brightness v] effect to (100)\n        go to [back v] layer\n        go [forward v] (2) layers\n        set size to (10) %\n        show\n        📷 Smooth change size to size: [182] Speed: [6]\n        delete this clone\n    else\n        if <(cloneid) = [9]> then\n            go to x: (0) y: (0)\n            point in direction (90)\n            switch costume to (costume5 v)\n            go to [back v] layer\n            go [forward v] (3) layers\n            set size to (10) %\n            show\n            clear graphic effects\n            📷 Smooth change size to size: [182] Speed: [6]\n            delete this clone\n        else\n            if <(cloneid) = [10]> then\n                go to x: (0) y: (0)\n                point in direction (90)\n                switch costume to (costume5 v)\n                set [brightness v] effect to (100)\n                go to [back v] layer\n                go [forward v] (4) layers\n                set size to (10) %\n                show\n                📷 Smooth change size to size: [182] Speed: [6]\n                delete this clone\n            else\n                if <(cloneid) = [shockwave]> then\n                    switch costume to (costume6 v)\n                    go to [front v] layer\n                    show\n                    set size to (10) %\n                    go to x: (0) y: (0)\n                    point in direction (90)\n                    📷 Smooth change size to size: [200] Speed: [5]\n                else\n                    if <(cloneid) = [11]> then\n                        go to x: (0) y: (0)\n                        point in direction (90)\n                        switch costume to (costume5 v)\n                        go to [back v] layer\n                        go [forward v] (4) layers\n                        set size to (10) %\n                        show\n                        clear graphic effects\n                        📷 Smooth change size to size: [182] Speed: [6]\n                        delete this clone\n                    else\n                        if <(cloneid) = [12]> then\n                            go to x: (0) y: (0)\n                            point in direction (90)\n                            switch costume to (costume5 v)\n                            set [brightness v] effect to (100)\n                            go to [back v] layer\n                            go [forward v] (5) layers\n                            set size to (10) %\n                            show\n                            📷 Smooth change size to size: [182] Speed: [6]\n                            delete this clone\n                        else\n                            if <(cloneid) = [tnt]> then\n                                go to x: (0) y: (-200)\n                                show\n                                point in direction (150)\n                                switch costume to (tnt-small v)\n                                set size to (50) %\n                                📷 smooth glide to x: [] y: [] Speed: [5]\n                            else\n                                if <(cloneid) = [13]> then\n                                    go to x: (0) y: (0)\n                                    point in direction (90)\n                                    switch costume to (costume5 v)\n                                    go to [back v] layer\n                                    go [forward v] (1) layers\n                                    set size to (10) %\n                                    show\n                                    clear graphic effects\n                                    📷 Smooth change size to size: [182] Speed: [6]\n                                    delete this clone\n                                else\n                                    if <(cloneid) = [14]> then\n                                        go to x: (0) y: (0)\n                                        point in direction (90)\n                                        switch costume to (costume5 v)\n                                        set [brightness v] effect to (100)\n                                        go to [back v] layer\n                                        go [forward v] (2) layers\n                                        set size to (10) %\n                                        show\n                                        📷 Smooth change size to size: [182] Speed: [6]\n                                        delete this clone\n                                    else\n                                        if <(cloneid) = [15]> then\n                                            go to x: (0) y: (0)\n                                            point in direction (90)\n                                            switch costume to (costume5 v)\n                                            go to [back v] layer\n                                            go [forward v] (3) layers\n                                            set size to (10) %\n                                            show\n                                            clear graphic effects\n                                            📷 Smooth change size to size: [182] Speed: [6]\n                                            delete this clone\n                                        else\n                                            if <(cloneid) = [16]> then\n                                                go to x: (0) y: (0)\n                                                point in direction (90)\n                                                switch costume to (costume5 v)\n                                                set [brightness v] effect to (100)\n                                                go to [back v] layer\n                                                go [forward v] (4) layers\n                                                set size to (10) %\n                                                show\n                                                📷 Smooth change size to size: [182] Speed: [6]\n                                                delete this clone\n                                            else\n                                                if <(cloneid) = [17]> then\n                                                    go to x: (0) y: (0)\n                                                    point in direction (90)\n                                                    switch costume to (costume5 v)\n                                                    go to [back v] layer\n                                                    go [forward v] (4) layers\n                                                    set size to (10) %\n                                                    show\n                                                    clear graphic effects\n                                                    📷 Smooth change size to size: [182] Speed: [6]\n                                                    delete this clone\n                                                else\n                                                    if <(cloneid) = [18]> then\n                                                        go to x: (0) y: (0)\n                                                        point in direction (90)\n                                                        switch costume to (costume5 v)\n                                                        set [brightness v] effect to (100)\n                                                        go to [back v] layer\n                                                        go [forward v] (5) layers\n                                                        set size to (10) %\n                                                        show\n                                                        📷 Smooth change size to size: [182] Speed: [6]\n                                                        delete this clone\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(cloneid) = [shockwave]> then\n    clear graphic effects\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 <(cloneid) = [background]> then\n    forever\n        switch costume to (costume7 v)\n        go to x: (-51) y: (0)\n        show\n        point in direction (90)\n        set size to (142) %\n        glide (1) secs to x: (40) y: (0)\n    end\nend\n\nwhen flag clicked\nclone id [background]\n\nwhen flag clicked\n\nwhen I start as a clone\nif <(cloneid) = [background]> then\n    set [brightness v] effect to (100)\n    set [ghost v] effect to (0)\nend\n\nwhen I receive [shake v]\nchange x by (2)\nchange y by (2)\nwait (0.05) seconds\nchange x by (-2)\nchange y by (-4)\nwait (0.05) seconds\nchange x by (1)\nchange y by (2)\nwait (0.05) seconds\nchange x by (-1)\nwait (0.05) seconds\n\nwhen I receive [shake v]\n\nwhen I start as a clone\nif <(cloneid) = [background]> then\n    forever\nend\n\nwhen flag clicked\nclear graphic effects\n\nrepeat (10)\n    change [ghost v] effect by (-1)\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [4]> then\n        go to [front v] layer\n    end\nend\n\nif <not <(costume [number v]) = [5]>> then\n    change [pixelate v] effect by (20)\n    repeat (5)\n        change [pixelate v] effect by (-4)\n    end\nelse\n    set [pixelate v] effect to (0)\nend\n\nwhen flag clicked\nwait (0.1) seconds\nclone id [tnt]\n\nwhen I start as a clone\nif <(cloneid) = [tnt]> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif <(cloneid) = [tnt]> then\n    wait (0.45) seconds\n    hide\n    clone id [shockwave]\nend\n\nwhen I start as a clone\nif <(cloneid) = [tnt]> then\n    📷Smooth rotate to angle: [85] Speed: [10]\nend\n\nwhen I receive [intro end v]\nif <<(costume [number v]) = [3]> or <(costume [number v]) = [7]>> then\n    if <(costume [number v]) = [3]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n        delete this clone\n    else\n        hide\n        delete this clone\n    end\nelse\n    repeat (10)\n        change size by (10)\n    end\n    hide\n    delete this clone\nend\n\nwhen flag clicked\ngo to [front v] layer\n\nforever\n    if <(costume [number v]) = [1]> then\nend\n\nplay sound [MINECRAFT THEME \(Trap Remix\) - Holder2 v] until done\n\ngo [backward v] (2) layers\n\ngo to [front v] layer\n\nwhen I start as a clone\n\nhide\n\nif <<(cloneid) = [2]> or <(cloneid) = [4]>> then\n\ngo to [back v] layer\ngo [forward v] (2) layers\n\n@sun\n\nwhen flag clicked\nhide\n\nwhen I receive [intro end v]\nshow\ngo to x: (199) y: (120)\ngo to [back v] layer\nforever\n    set size to ((100) + (([cos v] of ((timer) * (200)) ) * (10))) %\nend\n\n@Player Trail\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (21)\nend\ndelete this clone\n\nwhen I receive [scroll v]\nhide\ndelete this clone\n\nwhen I receive [intro end v]\nshow\nforever\n    point in direction ([direction v] of [player v])\n    switch costume to ([costume name v] of [player v])\n    go to x: ([x position v] of [player v]) y: ([y position v] of [player v])\n    create clone of (_myself_ v)\nend\n\nwhen I receive [outro v]\nforever\n    go to [back v] layer\nend\n\nforever\n    hide\nend\n\n