Sheep II A Platformer #games#art#3D#

Instructions: Welcome to the Sheep platformer\n\n-Arrow keys or W,A,S,D to move \n-↓ or "S" to cower "r" to restart a level\n\nAll Levels are possible! ( with mobile too)! Write a comment if you need help. Have fun!!

@Stage\n\n@secret\n\nwhen flag clicked\nhide\n\ndefine Hello, scratcher who clicked: " look inside"  do you want to remix this project? : D IF you take the time to read this then comment: " secret sheep" // how match found this Easter egg?\n\ndefine many\n\nmany\n\ndefine found\n\nfound\n\nthis Easter egg?\n\ndefine this Easter egg?\n\n@Platform\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (1) layers\n\nchange [color v] effect by (50)\n\nwhen flag clicked\nset [color v] effect to (0)\n\n@Figur12\n\ndefine Trampolin\nif <<touching (tranmpolin v)?> or <touching (tranmpolin e v)?>> then\n    set [y v] to [17]\nend\nif <touching (tranmpolin v)?> then\n    broadcast (sprung v)\nend\nif <touching (tranmpolin e v)?> then\n    broadcast (sprung2 v)\nend\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (player v)\nforever\n    if <(moove) = [yes]> then\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            repeat until <not <<key (down arrow v) pressed?> or <key (s v) pressed?>>>\n                set size to (50) %\n            end\n            if <not <<key (down arrow v) pressed?> or <key (s v) pressed?>>> then\n                set size to (100) %\n            end\n        end\n    end\nend\n\nwhen I receive [1 v]\ny\nright or left\nTrampolin\n\nwhen I receive [play v]\nset [y v] to [0]\nset [x v] to [0]\nset [x begin v] to [-200]\nset [y begin v] to [45]\ngo to x: (x begin) y: (y begin)\ngo to [front v] layer\n\nwhen I receive [works v]\nset [level v] to [1]\nhide\n\nwhen flag clicked\nset [moove v] to [yes]\nset [level v] to [1]\nbroadcast (works v)\nbroadcast (play v)\nnext or die\n\nwhen I receive [play v]\nforever\n    broadcast (1 v)\n    broadcast (2 v)\nend\n\ndefine dead\nset [moove v] to [no]\nbroadcast (//Dead effekt v)\nswitch costume to (die v)\nrepeat (10)\n    change size by (-4)\n    change [ghost v] effect by (10)\nend\nhide\nwait (0.5) seconds\ngo to x: (x begin) y: (y begin)\nswitch costume to (player v)\nset size to (100) %\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nset [moove v] to [yes]\npoint in direction (90)\nset [ghost v] effect to (0)\ngo to x: (x begin) y: (y begin)\nchange y by (-100)\n\ndefine next\ngo to x: (x begin) y: (y begin)\nchange [level v] by (1)\n\ndefine next or die\nforever\n    if <<<touching (hurt bang v)?> or <<touching (rad v)?> or <touching (spikes v)?>>> or <touching (lava v)?>> then\n        wait (0.00000000000000000000000000000000000000000000000000000000000000001) seconds\n        broadcast (dead v)\n        dead\n    end\n    if <(x position) > [225]> then\n        broadcast (next v)\n        switch costume to (player v)\n        next\n    end\nend\n\ndefine right or left\nif <(moove) = [yes]> then\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1.5)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x v] by (-1.5)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.85))\n    change x by (x)\n    if <([abs v] of (x) ) < [0.1]> then\n        set [x v] to [0]\n    end\nend\n\nwhen flag clicked\nset [color v] effect to (0)\n\nwhen [r v] key pressed\ndead\n\ndefine y\nchange [y v] by (-1)\nrepeat (4)\n    if <touching (platform v)?> then\n        change y by (1)\n    end\nend\nif <touching (platform v)?> then\n    change y by (-4)\n    change x by ((x) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <(x) > [0]> then\n            set [x v] to [-10]\n        else\n            set [x v] to [10]\n        end\n        set [y v] to [12]\n    else\n        set [x v] to [0]\n    end\nend\nchange y by (y)\nif <touching (platform v)?> then\n    if <(y) > [0]> then\n        repeat until <not <touching (platform v)?>>\n            change y by (-1)\n            set [y v] to [0]\n        end\n    else\n        repeat until <not <touching (platform v)?>>\n            change y by (1)\n            set [y v] to [0]\n        end\n    end\nend\nchange y by (-1)\nif <<touching (platform v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n    if <(moove) = [yes]> then\n        set [y v] to [12]\n    end\nend\nchange y by (1)\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nset [jetpack v] to [0]\nhide\nwait (0.5) seconds\nshow\ngo to x: (x begin) y: (y begin)\n\nrepeat (10)\n    change size by (1)\nend\n\nwhen I receive [//dead effekt v]\nset [moove v] to [no]\nwait (1) seconds\n\nswitch costume to (player v)\n\nwhen flag clicked\nforever\n    if <<touching (water v)?> or <touching (lava v)?>> then\n        set [y v] to [-0.5]\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [6]\n        end\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            set [y v] to [-5]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (push v)?> then\n        set [x v] to [21]\n    end\n    if <touching (push back v)?> then\n        set [x v] to [-21]\n    end\n    if <touching (push down v)?> then\n        set [y v] to [-21]\n    end\n    if <touching (push up v)?> then\n        set [y v] to [21]\n    end\nend\n\nwhen I receive [reapeat v]\ndead\n\nwhen flag clicked\nforever\n    if <touching (jetpack v)?> then\n        if  then\n            switch costume to (player jatpack v)\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                set [y v] to [7]\n            end\n        else\n            switch costume to (player v)\n            wait (1) seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if  then\n        switch costume to (player jatpack v)\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [7]\n        end\n    else\n        if <not <(level) = [8]>> then\n            point in direction (90)\n            wait (1) seconds\n            switch costume to (player v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(moove) = [yes]> then\n        if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <((mouse y) + (50)) < (y position)>>> then\n            set size to (50) %\n        else\n            if <not <<(Level) = [4]> and <<(x position) > [77]> and <(x position) < [176]>>>> then\n                if <not <<(Level) = [8]> and <<(y position) < [-33]> and <<(x position) > [-142]> and <(x position) < [-63]>>>>> then\n                    set size to (100) %\n                end\n            end\n        end\n    end\nend\n\nif  then\nend\n\nwhen [space v] key pressed\nchange [color v] effect by (50)\n\n@3d\n\nwhen flag clicked\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nwait (0.00000000000000000000000000000001) seconds\ngo to [back v] layer\n\n@spikes\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next v]\nnext costume\n\n@grass\n\nwhen flag clicked\nwait (0.000000000001) seconds\ngo to [front v] layer\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nforever\n    if <touching (figur12 v)?> then\n        repeat (6)\n            wait (0.001) seconds\n            next costume\n        end\n        wait (0.5) seconds\n    end\nend\n\n\n\nswitch costume to (1 v)\n\nnext costume\n\nwhen flag clicked\ncreate clone of (_myself_ v)\nforever\n    if <<(level) = [1]> or <(level) = [13]>> then\n        set size to (100) %\n        show\n        go to x: (14) y: (-79)\n    end\n    if <(level) = [2]> then\n        go to x: (127) y: (-60)\n        set size to (50) %\n    end\n    if <(level) = [3]> then\n        go to x: (4) y: (-65)\n        set size to (60) %\n    end\n    if <(level) = [5]> then\n        go to x: (150) y: (10)\n        set size to (60) %\n    end\n    if <(level) = [6]> then\n        go to x: (150) y: (-60)\n        set size to (60) %\n    end\n    if <(level) = [8]> then\n        go to x: (40) y: (-35)\n        set size to (60) %\n    end\n    if <(level) = [9]> then\n        go to x: (40) y: (-50)\n        set size to (60) %\n    end\n    if <(level) = [10]> then\n        go to x: (-90) y: (-47)\n        set size to (50) %\n    end\n    if <(level) = [11]> then\n        hide\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(level) = [2]> then\n        show\n        go to x: (-5) y: (120)\n        set size to (50) %\n        if <touching (figur12 v)?> then\n            repeat (6)\n                wait (0.001) seconds\n                next costume\n            end\n            wait (0.5) seconds\n        end\n    else\n        hide\n    end\nend\n\n\n\ndelete this clone\n\ndelete this clone\n\n\n\ngo to x: (-90) y: (-47)\nset size to (50) %\n\nshow\n\n@ tips\n\nwhen flag clicked\nwait (0.00000000001) seconds\ngo to [back v] layer\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nforever\n    set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((5) * <touching (mouse-pointer v)?>)) - (size)) / (4)))\n    change size by (Uuuuuuunnnnn)\n    go to x: (0) y: ((120) + (([sin v] of (Deeeeueuuuuuuux) ) * (7)))\n    point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (0.5)))\n    change [deeeeueuuuuuuux v] by (5)\nend\n\n@Werbung\n\nwhen flag clicked\nforever\n    set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((5) * <touching (mouse-pointer v)?>)) - (size)) / (4)))\n    change size by (Uuuuuuunnnnn)\n    go to x: (0) y: ((120) + (([sin v] of (Deeeeueuuuuuuux) ) * (10)))\n    point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (3)))\n    change [deeeeueuuuuuuux v] by (5)\nend\n\nwhen flag clicked\nshow\ngo to [back v] layer\nwait (0.2) seconds\ngo [forward v] (1) layers\nforever\n    hide\n    wait (pick random (18) to (22)) seconds\n    set [ghost v] effect to (100)\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (7) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nchange y by (40)\n\nchange y by (-4)\n\nset y to (110)\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        switch costume to (foolow 7 v)\n    else\n        if <not <(level) = [9]>> then\n            switch costume to (foolow v)\n        end\n    end\n    if <<(level) = [9]> or <(level) = [13]>> then\n        switch costume to (foolow 9 v)\n    else\n        if <not <(level) = [7]>> then\n            switch costume to (foolow v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [13]> then\n        hide\n    else\n        show\n    end\nend\n\n@Rain\n\nwhen flag clicked\nforever\n    if <<(level) = [3]> or <(level) = [4]>> then\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n    else\n        hide\n        delete this clone\n    end\nend\n\nwhen I start as a clone\ngo to [back v] layer\npoint in direction (90)\nshow\ngo to x: (pick random (-240) to (240)) y: (230)\nset [color v] effect to (pick random (1) to (5))\nset [brightness v] effect to (pick random (0) to (30))\nset [ghost v] effect to (pick random (0) to (20))\nset size to (pick random (50) to (120)) %\nchange [pixelate v] effect by (pick random (1) to (100))\nif <(pick random (1) to (4)) = [1]> then\n    switch costume to (apple v)\n    wait (0.001) seconds\n    go to [back v] layer\nend\nif <(pick random (1) to (4)) = [2]> then\n    switch costume to (apple2 v)\nend\nif <(pick random (1) to (4)) = [3]> then\n    switch costume to (apple3 v)\nend\nforever\n    if <(y position) < [-170]> then\n        delete this clone\n    end\n    change y by (pick random (-5) to (-7))\nend\n\n\n\nhide\ndelete this clone\n\n\n    show\nend\n\ngo [forward v] (1) layers\n\n@effeckt\n\nwhen flag clicked\nforever\n    if <<(level) = [3]> or <(level) = [4]>> then\n        show\n        set [effeckt id v] to [cloud]\n        wait (0.2) seconds\n        create clone of (_myself_ v)\n    else\n        hide\n        set [effeckt id v] to [non]\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(Effeckt id) = [cloud]> then\n        go [backward v] (1) layers\n        show\n        go to x: (250) y: (pick random (140) to (200))\n        set [color v] effect to (pick random (1) to (10))\n        set [brightness v] effect to (pick random (-50) to (20))\n        set [ghost v] effect to (pick random (0) to (20))\n        set size to (pick random (50) to (120)) %\n        change [pixelate v] effect by (pick random (1) to (5))\n        if <(pick random (1) to (4)) = [1]> then\n            switch costume to (cloud v)\n        end\n        if <(pick random (1) to (4)) = [2]> then\n            switch costume to (cloud2 v)\n        end\n        if <(pick random (1) to (4)) = [3]> then\n            switch costume to (cloud3 v)\n        end\n        forever\n            if <(x position) < [-240]> then\n                delete this clone\n            end\n            change x by (pick random (-3) to (-5))\n        end\n    end\nend\n\n@Hurt bang\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        go to x: (-19) y: (73)\n        repeat (10)\n            change y by (-7)\n        end\n        repeat (70)\n            change y by (1)\n        end\n        wait (0.2) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [12]> then\n        go to x: (-19) y: (73)\n        repeat (10)\n            change y by (-8.2)\n        end\n        repeat (82)\n            change y by (1)\n        end\n        wait (0.2) seconds\n    end\nend\n\n@ background\n\nwhen flag clicked\nwait (0.000001) seconds\ngo to [back v] layer\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\n@water\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen flag clicked\nset [ghost v] effect to (20)\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(level) = [5]> then\n        repeat (20)\n            change y by (1)\n        end\n        repeat (20)\n            change y by (-1)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        repeat (20)\n            change y by (1)\n        end\n        repeat (20)\n            change y by (-1)\n        end\n    end\nend\n\nif <(level) = [9]> then\n    repeat (20)\n        change y by (1)\n    end\n    repeat (20)\n        change y by (-1)\n    end\nend\n\n@Tranmpolin\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nswitch costume to (normal v)\nhide\n\nwhen flag clicked\nforever\n    if <<not <(level) = [5]>> or > then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if  then\n        go to x: (40) y: (50)\n        show\n    end\n    if  then\n        show\n        go to x: (35) y: (25)\n    end\nend\n\nforever\n\nwhen I receive [sprung v]\nswitch costume to (gebeugt v)\nwait (0.2) seconds\nswitch costume to (normal v)\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen flag clicked\nwait (0.01) seconds\ngo to [front v] layer\n\nwhen flag clicked\nset [color v] effect to (0)\n\nchange [color v] effect by (50)\n\n@rad\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    if <(level) = [6]> then\n        go to x: (-50) y: (-40)\n        turn right (5) degrees\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nif  then\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nelse\n    delete this clone\nend\n\nwhen flag clicked\nset [color v] effect to (0)\n\n@ background2\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\n@Figur1\n\nwhen flag clicked\nshow\nforever\n    go to (figur12 v)\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to ([size v] of [figur12 v]) %\nrepeat (15)\n    change size by (-2.5)\n    change [ghost v] effect by (7.5)\nend\ndelete this clone\n\nrepeat until \n    change y by (7)\nend\n\nwhen flag clicked\nforever\n    set size to ([size v] of [figur12 v]) %\nend\n\n@Push\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\n@push back\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\n@skip\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\nend\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nforever\n    set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((3) * <touching (mouse-pointer v)?>)) - (size)) / (4)))\n    change size by (Uuuuuuunnnnn)\n    go to x: (0) y: ((120) + (([sin v] of (Deeeeueuuuuuuux) ) * (3)))\n    point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (1)))\n    change [deeeeueuuuuuuux v] by (5)\nend\n\nwhen this sprite clicked\nbroadcast (next v)\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <(level) = [13]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen this sprite clicked\nstart sound [Plopp v]\n\n@PEPEAT\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    set [uuuuuuunnnnn v] to (((Uuuuuuunnnnn) * (0.8)) + ((((100) + ((3) * <touching (mouse-pointer v)?>)) - (size)) / (4)))\n    change size by (Uuuuuuunnnnn)\n    go to x: (0) y: ((120) + (([sin v] of (Deeeeueuuuuuuux) ) * (3)))\n    point in direction ((90) + (([cos v] of (Deeeeueuuuuuuux) ) * (1)))\n    change [deeeeueuuuuuuux v] by (5)\nend\n\nwhen this sprite clicked\nbroadcast (REAPEAT v)\n\nwhen this sprite clicked\nstart sound [Plopp v]\n\n@lava\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen flag clicked\nset [ghost v] effect to (20)\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nforever\n    if <<(level) = [8]> or <(level) = [11]>> then\n        repeat (20)\n            change y by (1)\n        end\n        repeat (20)\n            change y by (-1)\n        end\n    end\nend\n\n@push down\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\n@push up\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\n@jetpack\n\nwhen flag clicked\nset size to (100) %\nset [ghost v] effect to (0)\nhide\nforever\n    if <(level) = [8]> then\n        go to x: (-90) y: (130)\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (figur12 v)?> then\n        repeat (10)\n            change size by (5)\n            change [ghost v] effect by (10)\n        end\n        broadcast (player with jatpack v)\n    end\nend\n\nwhen this sprite clicked\nstart sound [Plopp v]\n\n@effect bubles\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    if <<<<(level) = [10]> or <(level) = [11]>> or <(level) = [12]>> or <(level) = [13]>> then\n        show\n        wait (pick random (0.1) to (0.05)) seconds\n        create clone of (_myself_ v)\n    else\n        hide\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (pick random (-240) to (240)) y: (-230)\nset [color v] effect to (pick random (1) to (15))\nset size to (pick random (20) to (90)) %\nif <(pick random (1) to (3)) = [1]> then\n    switch costume to (apple v)\nend\nif <(pick random (1) to (3)) = [2]> then\n    switch costume to (apple2 v)\nend\nif <(pick random (1) to (3)) = [3]> then\n    switch costume to (apple3 v)\nend\nforever\n    change y by (pick random (2) to (7))\n    if <(y position) > [170]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset [color v] effect to (0)\n\n@Music\n\nwhen flag clicked\nset volume to (70) %\nforever\n    play sound [Upbeat Background Music For Videos and Presentations v] until done\nend\n\nwhen flag clicked\nforever\n    if <(level) = [13]> then\n        set volume to (100) %\n    end\nend\n\n@fordergrund\n\nwhen flag clicked\nshow\nwait (1) seconds\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go to [front v] layer\nend\n\n