Holdy online - worlds platformer #games
@Stage\n\nwhen I receive [הסתר הכל v]\nswitch backdrop to (2 v)\n\nwhen flag clicked\nset [שלב v] to [1]\nhide variable [רקע אחרון v]\nforever\n    if <(יוצר שלב?) = [0]> then\n        set [רקע אחרון v] to (backdrop [number v])\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nswitch backdrop to (רקע אחרון)\n\nwhen flag clicked\nswitch backdrop to (6 v)\n\nwhen I receive [סגור חנות v]\nset [החנות פתוחה v] to [0]\n\nwhen flag clicked\nhide variable [עצירה v]\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen flag clicked\nhide variable [שלב v]\n\nwhen I receive [קוד v]\nask [Code?] and wait\n\nwhen flag clicked\nforever\n    hide variable [☁ p1 v]\n    hide variable [☁ p2 v]\n    hide variable [☁ p3 v]\n    hide variable [☁ p4 v]\nend\n\nwhen flag clicked\nforever\n    if <(username) = [svleopard]> then\n        set [כסף v] to [100]\n    end\nend\n\n@cube\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nset size to (70) %\nif <(מספר תלבושת) = [1]> then\n    switch costume to (10 v)\nend\nif <(מספר תלבושת) = [2]> then\n    switch costume to (11 v)\nend\nif <(מספר תלבושת) = [3]> then\n    switch costume to (12 v)\nend\nif <(מספר תלבושת) = [4]> then\n    switch costume to (13 v)\nend\nif <(מספר תלבושת) = [5]> then\n    switch costume to (14 v)\nend\nif <(מספר תלבושת) = [6]> then\n    switch costume to (15 v)\nend\nif <(מספר תלבושת) = [7]> then\n    switch costume to (16 v)\nend\nrepeat (9)\n    change [ghost v] effect by (7)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [צבע קדימה v]\nchange [color v] effect by (10)\n\nwhen I receive [צבע אחורה v]\nchange [color v] effect by (-10)\n\nwhen I receive [התחל v]\nwait (0.1) seconds\nswitch backdrop to (1 v)\nswitch costume to (1 v)\nset [תנועה x v] to [0]\nset [תנועה y v] to [0]\nset [עצור שיכפול v] to [0]\nhide variable [עצור שיכפול v]\nhide variable [תנועה y v]\nhide variable [תנועה x v]\ngo to [front v] layer\nshow\ngo to x: (-225) y: (65)\nglide (0.7) secs to x: (-225) y: (-82)\nsay (translate [Help me get home.] to ((language::translate) v)::translate) for (3) seconds\nforever\n    change [תנועה y v] by (-0.5)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        if <(עצירה) = [0]> then\n            if <[1] = (מהירות מופעלת)> then\n                change [תנועה x v] by (-1.3)\n            else\n                change [תנועה x v] by (-0.8)\n            end\n        end\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        if <(עצירה) = [0]> then\n            if <[1] = (מהירות מופעלת)> then\n                change [תנועה x v] by (1.3)\n            else\n                change [תנועה x v] by (0.8)\n            end\n        end\n    end\n    set [תנועה x v] to ((תנועה x) * (0.9))\n    change x by (תנועה x)\n    if <<touching (level v)?> or <<touching (stair v)?> or <touching (pillar v)?>>> then\n        change y by (1)\n        if <<touching (level v)?> or <<touching (stair v)?> or <touching (pillar v)?>>> then\n            change y by (1)\n            if <<touching (level v)?> or <<touching (stair v)?> or <touching (pillar v)?>>> then\n                change y by (1)\n                if <<touching (level v)?> or <<touching (stair v)?> or <touching (pillar v)?>>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <<touching (stair v)?> or <touching (pillar v)?>>> then\n                        change y by (1)\n                        if <<touching (level v)?> or <<touching (stair v)?> or <touching (pillar v)?>>> then\n                            change y by (1)\n                            if <<touching (level v)?> or <<touching (stair v)?> or <touching (pillar v)?>>> then\n                                change y by (-6)\n                                change x by ((תנועה x) * (-1))\n                                if <<<key (up arrow v) pressed?> or <<key (space v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <((30) + (y position)) < (mouse y)>>> then\n                                    if <(עצירה) = [0]> then\n                                        set [תנועה y v] to [8]\n                                        start sound [Jump v]\n                                        if <(תנועה x) > [0]> then\n                                            set [תנועה x v] to [-8]\n                                        else\n                                            set [תנועה x v] to [8]\n                                        end\n                                    end\n                                else\n                                    set [תנועה x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (תנועה y)\n    if <<touching (level v)?> or <<touching (stair v)?> or <touching (pillar v)?>>> then\n        change y by ((תנועה y) * (-1))\n        set [תנועה y v] to [0]\n    end\n    change y by (-0.5)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<key (space v) pressed?> or <<mouse down?> and <((30) + (y position)) < (mouse y)>>>> and <<touching (level v)?> or <<touching (stair v)?> or <touching (pillar v)?>>>> then\n        if <(עצירה) = [0]> then\n            set [תנועה y v] to [8]\n            start sound [Jump v]\n        end\n    end\n    change y by (0.5)\n    if <<touching (thorn v)?> or <<touching (lava v)?> or <touching (obstacles v)?>>> then\n        set [עצור שיכפול v] to [1]\n        repeat (3)\n            hide\n            wait (0.09) seconds\n            show\n            wait (0.09) seconds\n            hide\n            wait (0.2) seconds\n        end\n        start sound [Pew v]\n        go to x: (-225) y: (-82)\n        broadcast (פסילה v)\n        if <<(משחק) = [1]> or <(יוצר שלב?) = [0]>> then\n            show\n        end\n        set [עצור שיכפול v] to [0]\n        set [תנועה x v] to [0]\n        set [תנועה y v] to [0]\n    end\n    if <touching (enemies v)?> then\n        if <<(y position) < ((20) + ([y position v] of [enemies v]))> and <(רשע נפסל) = [0]>> then\n            set [עצור שיכפול v] to [1]\n            repeat (3)\n                hide\n                wait (0.09) seconds\n                show\n                wait (0.09) seconds\n                hide\n                wait (0.2) seconds\n            end\n            start sound [Pew v]\n            go to x: (-225) y: (-82)\n            broadcast (פסילה v)\n            if <<(משחק) = [1]> or <(יוצר שלב?) = [0]>> then\n                show\n            end\n            set [עצור שיכפול v] to [0]\n            set [תנועה x v] to [0]\n            set [תנועה y v] to [0]\n        end\n    end\n    if <(משחק ביצירה) = [1]> then\n        set [תנועה x v] to [0]\n        set [תנועה y v] to [0]\n        show\n        go to x: (-225) y: (200)\n        set [משחק ביצירה v] to [0]\n    end\nend\n\nwhen I receive [התחל v]\nwait (0.5) seconds\nforever\n    if <(עצור שיכפול) = [0]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [התחל v]\nhide variable [שלב v]\nset [שלב v] to [1]\nforever\n    if <<[1] = (דלג)> or <(x position) > [235]>> then\n        if <(יוצר שלב?) = [0]> then\n            start sound [Wand v]\n            go to x: (-225) y: (-79)\n            change [שלב v] by (1)\n            set [תנועה x v] to [0]\n            set [תנועה y v] to [0]\n            broadcast (הסתיים v) and wait\n            broadcast (מסר 1 v)\n        end\n    end\nend\n\nwhen I receive [התחל v]\nforever\n    play sound [Valence - Infinite \[NCS Release\] v] until done\n    play sound [Disfigure - Blank \[NCS Release\] v] until done\nend\n\nwhen I receive [הסתר הכל v]\nrepeat until <(יוצר שלב?) = [0]>\n    if <(משחק) = [0]> then\n        hide\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nset [תנועה y v] to [0]\nset [תנועה x v] to [0]\ngo to x: (-225) y: (-75)\nshow\n\nwhen I receive [תלבושת נינגה v]\nif <not <(username) = [erezcherizli]>> then\n    set [color v] effect to (0)\nend\nswitch costume to (2 v)\n\nwhen flag clicked\nforever\n    hide variable [מספר תלבושת v]\n    set [מספר תלבושת v] to (costume [number v])\nend\n\nwhen I receive [תלבושת ופל v]\nif <not <(username) = [erezcherizli]>> then\n    set [color v] effect to (0)\nend\nswitch costume to (3 v)\n\nwhen I receive [תלבושת ציפס v]\nif <not <<(username) = [erezcherizli]> or <(username) = [yigal14]>>> then\n    set [color v] effect to (0)\nend\nswitch costume to (4 v)\n\nwhen flag clicked\nforever\n    if <<(backdrop [number v]) = [1]> and <(y position) < [-82]>> then\n        set y to (-82)\n    end\n    if <<(backdrop [number v]) = [2]> and <(y position) < [-75]>> then\n        if <(יוצר שלב?) = [0]> then\n            set y to (-75)\n        end\n    end\n    if <<(backdrop [number v]) = [3]> and <(y position) < [-75]>> then\n        if <(יוצר שלב?) = [0]> then\n            set y to (-75)\n        end\n    end\n    if <<(backdrop [number v]) = [4]> and <(y position) < [-82]>> then\n        set y to (-82)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(username) = [yigal14]> or <<(username) = [erezcherizli]> or <(username) = [2191235447]>>> then\n        set [כסף v] to [100]\n    end\nend\n\nwhen I receive [מהתחלה v]\nif <(יוצר שלב?) = [0]> then\n    set [תנועה x v] to [0]\n    set [תנועה y v] to [0]\n    go to x: (-211) y: (-79)\nend\n\nwhen I receive [תלבושת מחליף צבע v]\nif <not <(username) = [erezcherizli]>> then\n    set [color v] effect to (0)\nend\nswitch costume to (5 v)\n\nwhen flag clicked\nset [צבע v] to [0]\nhide variable [צבע v]\nforever\n    if <(costume [number v]) = [5]> then\n        set [color v] effect to (צבע)\n        change [צבע v] by (1)\n    end\nend\n\nwhen I receive [תנמיך v]\nset volume to (0) %\n\nwhen I receive [תגביר v]\nset volume to (100) %\n\nwhen flag clicked\nset volume to (100) %\nhide variable [עוצמת קול v]\nforever\n    set [עוצמת קול v] to (volume)\nend\n\nwhen I receive [תלבושת פינגווין v]\nif <not <(username) = [erezcherizli]>> then\n    set [color v] effect to (0)\nend\nswitch costume to (6 v)\n\nwhen I receive [מסר 1 v]\nif <(שלב) = [21]> then\n    if <(current [hour v]) > [17]> then\n        switch backdrop to (3 v)\n    else\n        switch backdrop to (2 v)\n    end\nend\nif <(שלב) = [31]> then\n    switch backdrop to (7 v)\nend\nif <(שלב) = [36]> then\n    switch backdrop to (8 v)\nend\nif <(שלב) = [40]> then\n    switch backdrop to (4 v)\nend\n\nwhen I receive [בחר צבע v]\nshow\n\nwhen I receive [התחל v]\nset [שם משתמש v] to []\nforever\n    if <<(y position) < [-100]> and <not <(username) = []>>> then\n        if <(יוצר שלב?) = [0]> then\n            if <(יוצר שלב?) = [0]> then\n                say (translate [There is a bug, the bug was reported to the creator automatically.] to ((language::translate) v)::translate) for (3) seconds\n                set [number v] to [1]\n                repeat (length of (username))\n                    set [שם משתמש v] to (join (שם משתמש) (item (item # of (letter (number) of (username)) in [תרגום v]) of [שפה לתרגום v]))\n                    change [number v] by (1)\n                end\n                set [תקלה v] to (item (item # of [1] in [תרגום v]) of [שפה לתרגום v])\n                set [☁ bugs v] to (join (☁ bugs) (join (תקלה) (שם משתמש)))\n                set y to (-70)\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen flag clicked\nif <not <(username) = [yigal14]>> then\n    hide variable [☁ bugs v]\nend\nhide variable [תקלות v]\nhide variable [number1 v]\nhide variable [אות v]\nset [תקלות v] to []\nset [number1 v] to [1]\nrepeat ((length of (☁ bugs)) / (8))\n    set [אות v] to []\n    repeat (8)\n        set [אות v] to (join (אות) (letter (number1) of (☁ bugs)))\n        change [number1 v] by (1)\n    end\n    set [אות v] to (item (item # of (אות) in [שפה לתרגום v]) of [תרגום v])\n    set [תקלות v] to (join (תקלות) (אות))\nend\n\nwhen flag clicked\nforever\n    if <(username) = [yigal14]> then\n        wait until <key (4 v) pressed?>\n        set [☁ bugs v] to []\n        wait until <not <key (4 v) pressed?>>\n    end\nend\n\nwhen flag clicked\nwait (3) seconds\nif <(username) = [yigal14]> then\n    show variable [תקלות v]\n    wait ((length of (תקלות)) / (2.5)) seconds\n    hide variable [תקלות v]\nend\n\nwhen I receive [תלבושת שוקולד v]\nswitch costume to (7 v)\n\nwhen I receive [תלבושת גלידה v]\nswitch costume to (8 v)\n\nwhen I receive [תלבושת גלידה v]\nif <not <(username) = [erezcherizli]>> then\n    set [color v] effect to (0)\nend\nswitch costume to (8 v)\n\nwhen I receive [תלבושת שוקולד v]\nif <not <(username) = [erezcherizli]>> then\n    set [color v] effect to (0)\nend\nswitch costume to (7 v)\n\nwhen flag clicked\nset [נוגע במישהו v] to [0]\nforever\n    if <touching (cube2 v)?> then\n        set [נוגע במישהו v] to [1]\n    else\n        set [נוגע במישהו v] to [0]\n    end\nend\n\nwhen I receive [אונליין v]\nforever\n    if <not <(שלב) = [50]>> then\n        if <<<(מחובר שלי) = (letter (13) of (☁ P1))> and <not <(מחובר שלי) = [1]>>> and <(letter (12) of (☁ P1)) = [1]>> then\n            go to x: (-225) y: (-82)\n            set [עצור שיכפול v] to [0]\n            set [תנועה x v] to [0]\n            set [תנועה y v] to [0]\n        end\n        if <<<(מחובר שלי) = (letter (13) of (☁ P2))> and <not <(מחובר שלי) = [2]>>> and <(letter (12) of (☁ P2)) = [1]>> then\n            go to x: (-225) y: (-82)\n            broadcast (פסילה v)\n            set [עצור שיכפול v] to [0]\n            set [תנועה x v] to [0]\n            set [תנועה y v] to [0]\n        end\n        if <<<(מחובר שלי) = (letter (13) of (☁ P3))> and <not <(מחובר שלי) = [3]>>> and <(letter (12) of (☁ P3)) = [1]>> then\n            go to x: (-225) y: (-82)\n            set [עצור שיכפול v] to [0]\n            set [תנועה x v] to [0]\n            set [תנועה y v] to [0]\n        end\n    end\nend\n\nwhen I receive [תלבושת מתנה v]\nswitch costume to (9 v)\n\n@Description\n\nwhen flag clicked\nswitch costume to (1 v)\nset [brightness v] effect to (0)\ngo to x: (0) y: (0)\nshow\nwait (6.5) seconds\nrepeat (50)\n    change [brightness v] effect by (2)\nend\nhide\nbroadcast (ינטרו v)\nforever\n    go to [front v] layer\nend\n\nwhen [timer v] > (0.02)\nshow list [שמירת קוד v]\nset [brightness v] effect to (100)\nshow\nrepeat (50)\n    change [brightness v] effect by (-2)\nend\n\nwhen [timer v] > (0.02)\nforever\n    switch costume to (2 v)\n    go to [front v] layer\n    go to x: ((0) + ((mouse x) / (10))) y: ((0) + ((mouse y) / (10)))\nend\n\n@obstacles\n\nwhen I receive [מסר 1 v]\nif <(יוצר שלב?) = [0]> then\n    next costume\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [התחל v]\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (1 v)\nshow\n\nwhen I receive [הסתר הכל v]\nhide\n\nwhen flag clicked\nhide variable [מחשול אחרון v]\nforever\n    if <(יוצר שלב?) = [0]> then\n        set [מחשול אחרון v] to (costume [name v])\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nswitch costume to (מחשול אחרון)\n\nwhen I receive [חזרה למשחק v]\nshow\n\nwhen I receive [בחר צבע v]\nset [color v] effect to (0)\n\nwhen I receive [שמירה קובייה v]\nwait (0.1) seconds\nswitch costume to ([costume # v] of [level v])\nset [שלב v] to (costume [number v])\n\n@level\n\nwhen I receive [מסר 1 v]\nif <(יוצר שלב?) = [0]> then\n    next costume\nend\n\nwhen I receive [התחל v]\ngo to x: (0) y: (0)\nswitch costume to (00 v)\nshow\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [הסתר הכל v]\nswitch costume to (00 v)\n\nwhen flag clicked\nhide variable [שלב אחרון v]\nforever\n    if <(יוצר שלב?) = [0]> then\n        set [שלב אחרון v] to (costume [name v])\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nswitch costume to (שלב אחרון)\n\nwhen I receive [בחר צבע v]\nset [color v] effect to (0)\n\nwhen I receive [שמירה קובייה v]\nswitch costume to (שמירה)\n\n@Particles\n\nwhen I start as a clone\nshow\ngo to (cube v)\npoint in direction (pick random (-180) to (180))\nrepeat until <<(distance to [cube v]) > [30]> or <touching (_edge_ v)?>>\n    set [color v] effect to (0)\n    move (-3) steps\n    set [ghost v] effect to ((15) + (distance to [cube v]))\nend\ndelete this clone\n\nwhen flag clicked\nhide variable [הסתר הכל v]\nset [הסתר הכל v] to [0]\nhide\nforever\n    set [color v] effect to (0)\nend\n\nwhen I receive [התחל v]\nforever\n    hide\n    if <(הסתר הכל) = [0]> then\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nshow\n\nwhen flag clicked\ngo to [back v] layer\n\n@Switch forward\n\nwhen flag clicked\nset size to (80) %\ngo to x: (50) y: (0)\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (90) %\n    else\n        set size to (80) %\n    end\nend\n\nwhen I receive [התחל v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [בחר צבע v]\nforever\n    if <<<(backdrop [number v]) = [5]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <([costume # v] of [דמות12 v]) = [1]>> then\n        broadcast (צבע קדימה v)\n        start sound [פופ v]\n        wait (0.2) seconds\n    end\nend\n\nwhen I receive [בחר צבע v]\nshow\n\n@Switch back\n\nwhen flag clicked\nset size to (80) %\ngo to x: (-50) y: (0)\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (90) %\n    else\n        set size to (80) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(backdrop [number v]) = [5]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <([costume # v] of [דמות12 v]) = [1]>> then\n        broadcast (צבע אחורה v)\n        start sound [פופ v]\n        wait (0.2) seconds\n    end\nend\n\nwhen I receive [התחל v]\nhide\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [בחר צבע v]\nshow\n\n@OK\n\nwhen I receive [בחר צבע v]\nswitch backdrop to (5 v)\nset size to (100) %\nshow\ngo to x: (0) y: (-120)\nwait until <<<mouse down?> and <touching (mouse-pointer v)?>> and <([costume # v] of [דמות12 v]) = [1]>>\nstart sound [Pop v]\nhide\nbroadcast (התחל v)\nswitch backdrop to (1 v)\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I receive [בחר צבע v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nhide\n\n@Light\n\nwhen flag clicked\nforever\n    go to (cube v)\n    set [color v] effect to (0)\nend\n\nwhen flag clicked\nhide\nforever\n    set [color v] effect to (0)\n    set [ghost v] effect to (0)\nend\n\nwhen I receive [התחל v]\nshow\n\nwhen I receive [הסתר הכל v]\nhide\n\nwhen I receive [חזרה למשחק v]\nshow\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <(הסתר הכל) = [1]> then\n        hide\n    end\nend\n\nwhen I receive [התחל v]\nforever\n    if <(משחק) = [1]> then\n        show\n    end\nend\n\n@skip\n\nwhen flag clicked\nhide variable [פסילות בכל שלב v]\nhide variable [דלג v]\nset [דלג v] to [0]\nset [פסילות בכל שלב v] to [0]\nhide\n\nwhen I receive [התחל v]\ngo to x: (-193) y: (-164)\ngo to [front v] layer\nforever\n    if <(יוצר שלב?) = [0]> then\n        if <(פסילות בכל שלב) > [2]> then\n            if <(עצור שיכפול) = [0]> then\n                go to [front v] layer\n                show\n                if <<<mouse down?> and <touching (mouse-pointer v)?>> or <key (s v) pressed?>> then\n                    set [עצירה v] to [1]\n                    set [דלג v] to [1]\n                    broadcast (דלג v)\n                    wait until <not <<<mouse down?> and <touching (mouse-pointer v)?>> or <key (s v) pressed?>>>\n                    set [עצירה v] to [0]\n                end\n            end\n        else\n            hide\n        end\n        if <touching (mouse-pointer v)?> then\n            set size to (110) %\n        else\n            set size to (100) %\n        end\n    end\nend\n\nwhen I receive [הסתיים v]\nset [דלג v] to [0]\n\nwhen I receive [הסתר הכל v]\nwait (0.02) seconds\nhide\n\nwhen I receive [מסר 1 v]\nset [פסילות בכל שלב v] to [0]\n\nwhen I receive [פסילה v]\nif <(יוצר שלב?) = [0]> then\n    change [פסילות בכל שלב v] by (1)\nend\n\n@make level\n\nwhen flag clicked\nhide\n\nwhen I receive [התחל v]\ngo to [front v] layer\ngo to x: (185) y: (-161)\nshow\n\nwhen I receive [חזרה למשחק v]\ngo to [front v] layer\ngo to x: (185) y: (-161)\nshow\n\nwhen I receive [התחל v]\nset [יוצר שלב? v] to [0]\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (100) %\n        go to [front v] layer\n    else\n        go to [front v] layer\n        set size to (90) %\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        broadcast (הסתר הכל v)\n        set [הסתר הכל v] to [1]\n        set [יוצר שלב? v] to [1]\n        hide\n    end\nend\n\n@Icon lava\n\nwhen flag clicked\nhide\n\nwhen I receive [הסתר הכל v]\ngo to x: (200) y: (-16)\nshow\nrepeat until <(יוצר שלב?) = [0]>\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(משחק) = [0]>> then\n        if <not <(x position) = [254]>> then\n            set [בחרו אפשרות v] to [1]\n            broadcast (לבה v)\n            wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n        end\n    end\nend\n\nwhen I receive [גלוש v]\nglide (0.4) secs to x: (254) y: (-16)\nhide\n\nwhen I receive [גלוש חזרה v]\nshow\nglide (0.4) secs to x: (200) y: (-16)\n\nwhen I receive [הסתר הכל v]\nrepeat until <(יוצר שלב?) = [0]>\n    if <(משחק) = [1]> then\n        hide\n    else\n        if <not <(x position) = [254]>> then\n            show\n        end\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nhide\n\n@Icon thorn\n\nwhen flag clicked\nhide\n\nwhen I receive [הסתר הכל v]\ngo to x: (200) y: (93)\nshow\n\nwhen I receive [גלוש v]\nglide (0.4) secs to x: (254) y: (93)\nhide\n\nwhen I receive [גלוש חזרה v]\nshow\nglide (0.4) secs to x: (200) y: (96)\n\nwhen I receive [הסתר הכל v]\nshow\nrepeat until <(יוצר שלב?) = [0]>\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(משחק) = [0]>> then\n        if <not <(x position) = [254]>> then\n            set [בחרו אפשרות v] to [1]\n            broadcast (קוץ v)\n            wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n        end\n    end\nend\n\nwhen I receive [הסתר הכל v]\nrepeat until <(יוצר שלב?) = [0]>\n    if <(משחק) = [1]> then\n        hide\n    else\n        if <not <(x position) = [254]>> then\n            show\n        end\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nhide\n\n@Icon Stair\n\nwhen flag clicked\nhide\n\nwhen I receive [הסתר הכל v]\ngo to x: (200) y: (37)\nshow\n\nwhen I receive [גלוש חזרה v]\nshow\nglide (0.4) secs to x: (200) y: (37)\n\nwhen I receive [גלוש v]\nglide (0.4) secs to x: (254) y: (37)\nhide\n\nwhen I receive [הסתר הכל v]\nshow\nrepeat until <(יוצר שלב?) = [0]>\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(משחק) = [0]>> then\n        if <not <(x position) = [254]>> then\n            set [בחרו אפשרות v] to [1]\n            broadcast (מדרגה v)\n            wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n        end\n    end\nend\n\nwhen I receive [הסתר הכל v]\nrepeat until <(יוצר שלב?) = [0]>\n    if <(משחק) = [1]> then\n        hide\n    else\n        if <not <(x position) = [254]>> then\n            show\n        end\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nhide\n\n@Icon Pillar\n\nwhen flag clicked\nhide\n\nwhen I receive [הסתר הכל v]\ngo to x: (200) y: (145)\nshow\n\nwhen I receive [גלוש v]\nglide (0.4) secs to x: (254) y: (145)\nhide\n\nwhen I receive [גלוש חזרה v]\nshow\nglide (0.4) secs to x: (200) y: (145)\n\nwhen I receive [הסתר הכל v]\nshow\nrepeat until <(יוצר שלב?) = [0]>\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(משחק) = [0]>> then\n        if <not <(x position) = [254]>> then\n            set [בחרו אפשרות v] to [1]\n            broadcast (עמוד v)\n            wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n        end\n    end\nend\n\nwhen I receive [הסתר הכל v]\nrepeat until <(יוצר שלב?) = [0]>\n    if <(משחק) = [1]> then\n        hide\n    else\n        if <not <(x position) = [254]>> then\n            show\n        end\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nhide\n\n@Toolbar\n\nwhen flag clicked\nhide variable [פתוח v]\nset [בחרו אפשרות v] to [0]\nhide\ngo to [back v] layer\n\nwhen I receive [הסתר הכל v]\nswitch costume to (תלבושת1 v)\ngo to x: (34) y: (0)\nshow\nrepeat until <not <(יוצר שלב?) = [1]>>\n    if <<<touching (mouse-pointer v)?> and <mouse down?>> and <(משחק) = [0]>> then\n        if <(costume [number v]) = [1]> then\n            broadcast (גלוש v)\n            glide (0.5) secs to x: (112) y: (0)\n            switch costume to (תלבושת2 v)\n        else\n            broadcast (גלוש חזרה v)\n            glide (0.3) secs to x: (34) y: (0)\n            switch costume to (תלבושת1 v)\n        end\n    end\nend\n\nwhen I receive [הסתר הכל v]\nforever\n    if <(costume [number v]) = [1]> then\n        set [פתוח v] to [1]\n    else\n        set [פתוח v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(משחק) = [1]> then\n        hide\n    else\n        if <(יוצר שלב?) = [1]> then\n            show\n        end\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nhide\n\n@lava\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [לבה v]\ngo to [front v] layer\nwait (0.2) seconds\nset [בחרו אפשרות v] to [0]\nrepeat until <(בחרו אפשרות) = [1]>\n    show\n    set [ghost v] effect to (60)\n    go to (mouse-pointer v)\n    if <<<<touching (mouse-pointer v)?> and <mouse down?>> and <(פתוח) = [0]>> and <not <touching (toolbar v)?>>> then\n        create clone of (_myself_ v)\n        wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    end\nend\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat until <(יוצר שלב?) = [0]>\n    if <<touching (bin v)?> and <mouse down?>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nwait until <(יוצר שלב?) = [0]>\nhide\n\n@thorn\n\nwhen flag clicked\nhide\n\nwhen I receive [קוץ v]\ngo to [front v] layer\nwait (0.2) seconds\nset [בחרו אפשרות v] to [0]\nrepeat until <(בחרו אפשרות) = [1]>\n    show\n    set [ghost v] effect to (60)\n    go to (mouse-pointer v)\n    if <<<touching (mouse-pointer v)?> and <mouse down?>> and <<(פתוח) = [0]> and <not <touching (toolbar v)?>>>> then\n        create clone of (_myself_ v)\n        wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    end\nend\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat until <(יוצר שלב?) = [0]>\n    if <<touching (bin v)?> and <mouse down?>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nwait until <(יוצר שלב?) = [0]>\nhide\n\n@stair\n\nwhen flag clicked\nhide\n\nwhen I receive [מדרגה v]\ngo to [front v] layer\nwait (0.2) seconds\nset [בחרו אפשרות v] to [0]\nrepeat until <(בחרו אפשרות) = [1]>\n    show\n    set [ghost v] effect to (60)\n    go to (mouse-pointer v)\n    if <<<touching (mouse-pointer v)?> and <mouse down?>> and <<(פתוח) = [0]> and <not <touching (toolbar v)?>>>> then\n        create clone of (_myself_ v)\n        wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    end\nend\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat until <(יוצר שלב?) = [0]>\n    if <<touching (bin v)?> and <mouse down?>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nwait until <(יוצר שלב?) = [0]>\nhide\n\n@pillar\n\nwhen flag clicked\nhide\n\nwhen I receive [עמוד v]\ngo to [front v] layer\nwait (0.2) seconds\nset [בחרו אפשרות v] to [0]\nrepeat until <(בחרו אפשרות) = [1]>\n    show\n    set [ghost v] effect to (60)\n    go to (mouse-pointer v)\n    if <<<touching (mouse-pointer v)?> and <mouse down?>> and <<(פתוח) = [0]> and <not <touching (toolbar v)?>>>> then\n        create clone of (_myself_ v)\n        wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    end\nend\nhide\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat until <(יוצר שלב?) = [0]>\n    show\n    if <<touching (bin v)?> and <mouse down?>> then\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nwait until <(יוצר שלב?) = [0]>\nhide\n\n@images\n\nwhen I receive [הסתר הכל v]\ngo to x: (130) y: (150)\nshow\nrepeat until <(יוצר שלב?) = [0]>\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(משחק) = [0]>> then\n        set [בחרו אפשרות v] to [1]\n        broadcast (למחוק v)\n        wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    end\nend\n\nwhen flag clicked\nhide\nset [יוצר שלב? v] to [0]\nforever\n    if <(משחק) = [1]> then\n        hide\n    else\n        if <(יוצר שלב?) = [1]> then\n            show\n        end\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nhide\n\n@bin\n\nwhen I receive [למחוק v]\ngo to [front v] layer\nwait (0.2) seconds\nset [בחרו אפשרות v] to [0]\nrepeat until <(בחרו אפשרות) = [1]>\n    show\n    set [ghost v] effect to (60)\n    go to (mouse-pointer v)\n    if <<<touching (mouse-pointer v)?> and <mouse down?>> and <not <touching (toolbar v)?>>> then\n        set [ghost v] effect to (0)\n    end\nend\nhide\n\nwhen flag clicked\nhide\n\n@דמות13\n\nwhen flag clicked\nset [משחק v] to [0]\nset [משחק ביצירה v] to [0]\nhide variable [יוצר שלב? v]\nhide variable [משחק ביצירה v]\nhide variable [משחק v]\nhide\n\nwhen I receive [הסתר הכל v]\nset [משחק v] to [0]\nset [משחק ביצירה v] to [0]\ngo to x: (-192) y: (152)\nshow\nrepeat until <(יוצר שלב?) = [0]>\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(משחק ביצירה) = [0]> then\n            set [הסתר הכל v] to [0]\n            set [בחרו אפשרות v] to [1]\n            set [משחק ביצירה v] to [1]\n            set [משחק v] to [1]\n            hide\n            wait until <(משחק) = [0]>\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (80) %\n    else\n        set size to (70) %\n    end\nend\n\nwhen I receive [חזרה למשחק v]\nhide\n\n@דמות1\n\nwhen flag clicked\nwait (0.1) seconds\nhide\n\nwhen flag clicked\nforever\n    if <(משחק) = [1]> then\n        go to x: (-88) y: (151)\n        show\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            wait (0.3) seconds\n            set [משחק v] to [0]\n            set [הסתר הכל v] to [1]\n            hide\n        end\n    end\nend\n\n@Confetti3\n\nwhen I start as a clone\nshow\nforever\n    next costume\nend\n\nwhen I start as a clone\nset [color v] effect to (pick random (1) to (299))\npoint in direction (pick random (0) to (70))\nwait (pick random (0.1) to (0.4)) seconds\nrepeat until <[-178] > (y position)>\n    change y by (pick random (-5) to (-3))\nend\ndelete this clone\n\nwhen I start as a clone\nrepeat (pick random (1) to (10))\n    move (25) steps\nend\nrepeat (pick random (1) to (10))\n    move (20) steps\nend\nrepeat (pick random (1) to (10))\n    move (10) steps\nend\nrepeat (pick random (1) to (10))\n    move (5) steps\nend\nrepeat (pick random (1) to (10))\n    move (3) steps\nend\nrepeat (pick random (1) to (10))\n    move (2) steps\nend\nrepeat (pick random (1) to (10))\n    move (1) steps\nend\nforever\n    turn right (5) degrees\nend\n\nwhen flag clicked\nhide\nforever\n    if <(שלב) = [50]> then\n        go to x: (-999) y: (-999)\n        repeat (5)\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\n        wait (4.5) seconds\n    end\nend\n\nwhen I start as a clone\nif <(שלב) = [46]> then\n    wait until <not <(שלב) = [46]>>\n    repeat (10)\n        hide\n    end\nend\n\n@דמות2\n\nwhen flag clicked\nwait (0.1) seconds\nhide\n\nwhen I receive [הסתר הכל v]\ngo to x: (-99) y: (151)\nshow\nrepeat until <(יוצר שלב?) = [0]>\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(משחק) = [0]> then\n            set [בחרו אפשרות v] to [1]\n            set [הסתר הכל v] to [0]\n            set [יוצר שלב? v] to [0]\n            broadcast (חזרה למשחק v)\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(משחק) = [1]> then\n        hide\n    else\n        if <(יוצר שלב?) = [1]> then\n            show\n        end\n    end\n    if <touching (mouse-pointer v)?> then\n        set size to (90) %\n    else\n        set size to (80) %\n    end\nend\n\n@Coin\n\nwhen flag clicked\nset [יוצר שלב? v] to [0]\nset [הסתר1 v] to [0]\nhide variable [הסתר1 v]\nhide\n\ndefine אם שלב (מספר) (x) (y)\nif <(שלב) = (מספר)> then\n    show\n    go to x: (x) y: (y)\n    set [x v] to [0]\n    repeat until <[35] > (distance to [cube v])>\n        if <(שלב) = (מספר)> then\n            repeat (10)\n                change y by (1)\n                wait (0.01) seconds\n            end\n            repeat (10)\n                change y by (-1)\n                wait (0.01) seconds\n            end\n        end\n    end\nend\n\nwhen I receive [מסר 1 v]\nhide\nset [הסתר1 v] to [0]\nאם שלב [2] [-68] [-13]\nאם שלב [3] [-16] [44]\nאם שלב [4] [31] [84]\nאם שלב [5] [0] [-22]\nאם שלב [6] [154] [130]\nאם שלב [7] [-14] [163]\nאם שלב [8] [63] [36]\nאם שלב [9] [83] [62]\nאם שלב [10] [30] [92]\nאם שלב [11] [133] [72]\nאם שלב [12] [185] [56]\nאם שלב [13] [52] [-82]\nאם שלב [14] [-62] [75]\nאם שלב [15] [-18] [21]\nאם שלב [16] [8] [72]\nאם שלב [17] [92] [134]\nאם שלב [18] [15] [147]\nאם שלב [19] [-90] [85]\nאם שלב [20] [-96] [62]\nאם שלב [21] [0] [94]\nאם שלב [22] [-37] [-74]\nאם שלב [23] [-28] [-18]\nאם שלב [24] [-72] [111]\nאם שלב [25] [18] [-31]\nאם שלב [26] [222] [100]\nאם שלב [27] [-43] [-77]\nאם שלב [28] [37] [-27]\nאם שלב [29] [108] [104]\nאם שלב [30] [85] [66]\nאם שלב [31] [-10] [-47]\nאם שלב [32] [161] [27]\nאם שלב [33] [32] [34]\nאם שלב [34] [150] [109]\nאם שלב [35] [128] [95]\nאם שלב [36] [-48] [65]\nאם שלב [37] [91] [59]\nאם שלב [38] [-134] [-3]\nאם שלב [39] [70] [52]\nאם שלב [40] [-25] [-46]\nאם שלב [41] [-115] [-82]\nאם שלב [42] [-113] [-80]\nאם שלב [43] [-53] [-78]\nאם שלב [44] [-26] [57]\nאם שלב [45] [178] [53]\nאם שלב [46] [30] [55]\nאם שלב [47] [154] [130]\nאם שלב [48] [-130] [0]\nאם שלב [49] [106] [75]\n\nwhen I receive [התחל v]\nset [הסתר1 v] to [0]\nwait until <<([x position v] of [cube v]) = [-225]> and <([y position v] of [cube v]) = [-82]>>\nאם שלב [1] [-8] [-21]\n\nwhen I receive [דלג v]\nhide\nset [הסתר1 v] to [0]\nאם שלב [2] [-68] [-13]\nאם שלב [3] [-16] [44]\nאם שלב [4] [31] [84]\nאם שלב [5] [0] [-22]\nאם שלב [6] [154] [130]\nאם שלב [7] [-14] [163]\nאם שלב [8] [63] [36]\nאם שלב [9] [83] [62]\nאם שלב [10] [30] [92]\nאם שלב [11] [133] [72]\nאם שלב [12] [185] [56]\nאם שלב [13] [52] [-82]\nאם שלב [14] [-62] [75]\nאם שלב [15] [-18] [21]\nאם שלב [16] [8] [72]\nאם שלב [17] [92] [134]\nאם שלב [18] [15] [147]\nאם שלב [19] [-90] [85]\nאם שלב [20] [-96] [62]\nאם שלב [21] [0] [94]\nאם שלב [22] [-37] [-74]\nאם שלב [23] [-28] [-18]\nאם שלב [24] [-72] [111]\nאם שלב [25] [18] [-31]\nאם שלב [26] [222] [100]\nאם שלב [27] [-43] [-77]\nאם שלב [28] [37] [-27]\nאם שלב [29] [108] [104]\nאם שלב [30] [85] [66]\nאם שלב [31] [-10] [-47]\nאם שלב [32] [161] [27]\nאם שלב [33] [32] [34]\nאם שלב [34] [150] [109]\nאם שלב [35] [128] [95]\nאם שלב [36] [-48] [65]\nאם שלב [37] [91] [59]\nאם שלב [38] [-134] [-3]\nאם שלב [39] [70] [52]\nאם שלב [40] [-25] [-46]\nאם שלב [41] [-115] [-82]\nאם שלב [42] [-113] [-80]\nאם שלב [43] [-53] [-78]\nאם שלב [44] [-26] [57]\nאם שלב [45] [178] [53]\nאם שלב [46] [30] [55]\nאם שלב [47] [154] [130]\nאם שלב [48] [-130] [0]\nאם שלב [49] [106] [75]\n\nwhen I receive [התחל v]\nwait (1) seconds\nforever\n    if <[35] > (distance to [cube v])> then\n        if <<(הסתר1) = [0]> and <(יוצר שלב?) = [0]>> then\n            start sound [Coin v]\n            hide\n            set [הסתר1 v] to [1]\n            change [כסף v] by (1)\n            wait until <not <[30] > (distance to [cube v])>>\n        end\n    end\nend\n\nwhen flag clicked\nset volume to (100) %\nforever\n    if <(יוצר שלב?) = [1]> then\n        hide\n    end\nend\n\nwhen I receive [תנמיך v]\nset volume to (0) %\n\nwhen I receive [תגביר v]\nset volume to (100) %\n\nwhen I receive [שמירה קובייה v]\nwait (0.5) seconds\nhide\nset [הסתר1 v] to [0]\nאם שלב [1] [-8] [-21]\nאם שלב [2] [-68] [-13]\nאם שלב [3] [-16] [44]\nאם שלב [4] [31] [84]\nאם שלב [5] [0] [-22]\nאם שלב [6] [154] [130]\nאם שלב [7] [-14] [163]\nאם שלב [8] [63] [36]\nאם שלב [9] [83] [62]\nאם שלב [10] [30] [92]\nאם שלב [11] [133] [72]\nאם שלב [12] [185] [56]\nאם שלב [13] [52] [-82]\nאם שלב [14] [-62] [75]\nאם שלב [15] [-18] [21]\nאם שלב [16] [8] [72]\nאם שלב [17] [92] [134]\nאם שלב [18] [15] [147]\nאם שלב [19] [-90] [85]\nאם שלב [20] [-96] [62]\nאם שלב [21] [0] [94]\nאם שלב [22] [-37] [-74]\nאם שלב [23] [-28] [-18]\nאם שלב [24] [-72] [111]\nאם שלב [25] [18] [-31]\nאם שלב [26] [222] [100]\nאם שלב [27] [-43] [-77]\nאם שלב [28] [37] [-27]\nאם שלב [29] [108] [104]\nאם שלב [30] [85] [66]\nאם שלב [31] [-10] [-47]\nאם שלב [32] [161] [27]\nאם שלב [33] [32] [34]\nאם שלב [34] [150] [109]\nאם שלב [35] [128] [95]\nאם שלב [36] [-48] [65]\nאם שלב [37] [91] [59]\nאם שלב [38] [-134] [-3]\nאם שלב [39] [70] [52]\nאם שלב [40] [-25] [-46]\nאם שלב [41] [-115] [-82]\nאם שלב [42] [-113] [-80]\nאם שלב [43] [-53] [-78]\nאם שלב [44] [-26] [57]\nאם שלב [45] [178] [53]\nאם שלב [46] [30] [55]\nאם שלב [47] [154] [130]\nאם שלב [48] [-130] [0]\nאם שלב [49] [106] [75]\n\n@Coin2\n\nwhen flag clicked\nhide variable [הסתר2 v]\nhide\n\ndefine אם שלב (מספר) (x) (y)\nwait (0.02) seconds\nif <(שלב) = (מספר)> then\n    if <(עצור לבדוק) = [0]> then\n        show\n        go to x: (x) y: (y)\n        set [עצור לבדוק v] to [1]\n        repeat until <[35] > (distance to [cube v])>\n            if <(שלב) = (מספר)> then\n                repeat (10)\n                    change y by (1)\n                    wait (0.01) seconds\n                end\n                repeat (10)\n                    change y by (-1)\n                    wait (0.01) seconds\n                end\n            end\n        end\n        stop [this script v]\n    end\nend\n\nwhen I receive [מסר 1 v]\nhide\nset [עצור לבדוק v] to [0]\nset [הסתר2 v] to [0]\nאם שלב [4] [155] [119]\nאם שלב [9] [131] [138]\nאם שלב [11] [227] [58]\nאם שלב [13] [209] [-33]\nאם שלב [15] [15] [21]\nאם שלב [16] [108] [72]\nאם שלב [18] [216] [71]\nאם שלב [24] [170] [18]\nאם שלב [26] [194] [79]\nאם שלב [27] [137] [-68]\nאם שלב [30] [8] [41]\nאם שלב [32] [106] [38]\nאם שלב [33] [73] [34]\nאם שלב [34] [-9] [109]\nאם שלב [36] [12] [65]\nאם שלב [38] [-30] [60]\nאם שלב [39] [-80] [52]\nאם שלב [42] [62] [-80]\nאם שלב [44] [95] [74]\nאם שלב [48] [30] [98]\nאם שלב [49] [191] [111]\nif <(עצור לבדוק) = [0]> then\n    set [הסתר2 v] to [1]\nend\n\nwhen I receive [דלג v]\nhide\nset [עצור לבדוק v] to [0]\nset [הסתר2 v] to [0]\nאם שלב [4] [155] [119]\nאם שלב [9] [181] [138]\nאם שלב [11] [227] [58]\nאם שלב [13] [209] [-33]\nאם שלב [15] [15] [21]\nאם שלב [16] [108] [72]\nאם שלב [18] [216] [71]\nאם שלב [24] [170] [18]\nאם שלב [26] [194] [79]\nאם שלב [27] [137] [-68]\nאם שלב [30] [8] [41]\nאם שלב [32] [106] [38]\nאם שלב [33] [73] [34]\nאם שלב [34] [-9] [109]\nאם שלב [36] [12] [65]\nאם שלב [38] [-30] [60]\nאם שלב [39] [-80] [52]\nאם שלב [42] [62] [-80]\nאם שלב [44] [95] [74]\nאם שלב [48] [30] [98]\nאם שלב [49] [191] [111]\nif <(עצור לבדוק) = [0]> then\n    set [הסתר2 v] to [1]\nend\n\nwhen I receive [מסר 1 v]\nhide\n\nwhen I receive [דלג v]\nhide\n\nwhen I receive [התחל v]\nforever\n    if <[35] > (distance to [cube v])> then\n        if <<(הסתר2) = [0]> and <(יוצר שלב?) = [0]>> then\n            start sound [Coin v]\n            hide\n            set [הסתר2 v] to [1]\n            change [כסף v] by (1)\n            wait until <not <[30] > (distance to [cube v])>>\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(יוצר שלב?) = [1]> then\n        hide\n    end\nend\n\nwhen I receive [תנמיך v]\nset volume to (0) %\n\nwhen I receive [תגביר v]\nset volume to (100) %\n\nwhen I receive [שמירה קובייה v]\nwait (0.4) seconds\nhide\nset [עצור לבדוק v] to [0]\nset [הסתר2 v] to [0]\nאם שלב [4] [155] [119]\nאם שלב [9] [181] [138]\nאם שלב [11] [227] [58]\nאם שלב [13] [209] [-33]\nאם שלב [15] [15] [21]\nאם שלב [16] [108] [72]\nאם שלב [18] [216] [71]\nאם שלב [24] [170] [18]\nאם שלב [26] [194] [79]\nאם שלב [27] [137] [-68]\nאם שלב [30] [8] [41]\nאם שלב [32] [106] [38]\nאם שלב [33] [73] [34]\nאם שלב [34] [-9] [109]\nאם שלב [36] [12] [65]\nאם שלב [38] [-30] [60]\nאם שלב [39] [-80] [52]\nאם שלב [42] [62] [-80]\nאם שלב [44] [95] [74]\nאם שלב [48] [30] [98]\nאם שלב [49] [191] [111]\nif <(עצור לבדוק) = [0]> then\n    set [הסתר2 v] to [1]\nend\n\n@store\n\nwhen flag clicked\nhide\nhide variable [החנות פתוחה v]\nset [כסף v] to [0]\nswitch costume to (תלבושת1 v)\ngo to x: (-202) y: (156)\nset [החנות פתוחה v] to [0]\n\nwhen I receive [התחל v]\nshow\nforever\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(יוצר שלב?) = [0]>> then\n        if <(החנות פתוחה) = [0]> then\n            set [עצירה v] to [1]\n            start sound [פופ v]\n            set [החנות פתוחה v] to [1]\n            broadcast (החנות נפתחה v)\n            wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n            set [עצירה v] to [0]\n        else\n            set [עצירה v] to [1]\n            start sound [פופ v]\n            set [החנות פתוחה v] to [0]\n            broadcast (סגור חנות v)\n            wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n            set [עצירה v] to [0]\n        end\n    end\nend\n\nsay (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n\nwhen flag clicked\nhide variable [כסף v]\nhide variable [רכשתי ופל v]\nhide variable [רכשתי נינגה v]\nhide variable [רכשתי ציפס v]\nset [רכשתי ופל v] to [0]\nset [רכשתי נינגה v] to [0]\nset [רכשתי ציפס v] to [0]\n\nwhen I receive [הסתר הכל v]\nhide\n\nwhen I receive [חזרה למשחק v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (תלבושת2 v)\n    else\n        switch costume to (תלבושת1 v)\n    end\nend\n\n@Confetti2\n\nwhen I start as a clone\nshow\nforever\n    next costume\nend\n\nwhen I start as a clone\nset [color v] effect to (pick random (1) to (299))\npoint in direction (pick random (0) to (-70))\nwait (pick random (0.1) to (0.4)) seconds\nrepeat until <[-178] > (y position)>\n    change y by (pick random (-5) to (-3))\nend\ndelete this clone\n\nwhen I start as a clone\nrepeat (pick random (1) to (10))\n    move (25) steps\nend\nrepeat (pick random (1) to (10))\n    move (20) steps\nend\nrepeat (pick random (1) to (10))\n    move (10) steps\nend\nrepeat (pick random (1) to (10))\n    move (5) steps\nend\nrepeat (pick random (1) to (10))\n    move (3) steps\nend\nrepeat (pick random (1) to (10))\n    move (2) steps\nend\nrepeat (pick random (1) to (10))\n    move (1) steps\nend\nforever\n    turn right (5) degrees\nend\n\nwhen flag clicked\nhide\nforever\n    if <(שלב) = [50]> then\n        go to x: (999) y: (-999)\n        repeat (5)\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            create clone of (_myself_ v)\n            create clone of (_myself_ v)\n            create clone of (_myself_ v)\n        end\n        wait (4.5) seconds\n    end\nend\n\nwhen I start as a clone\nif <(שלב) = [50]> then\n    wait until <not <(שלב) = [50]>>\n    repeat (10)\n        hide\n    end\nend\n\n@retry\n\nwhen flag clicked\nhide\n\nwhen I receive [התחל v]\ngo to x: (-193) y: (-131)\nshow\nforever\n    if <<<<mouse down?> and <touching (mouse-pointer v)?>> or <key (r v) pressed?>> and <<(יוצר שלב?) = [0]> and <(עצור שיכפול) = [0]>>> then\n        set [עצירה v] to [1]\n        broadcast (מהתחלה v)\n        wait until <not <<<mouse down?> and <touching (mouse-pointer v)?>> or <key (r v) pressed?>>>\n        set [עצירה v] to [0]\n    end\nend\n\nwhen I receive [הסתר הכל v]\nhide\n\nwhen I receive [חזרה למשחק v]\nshow\n\nwhen flag clicked\nforever\n    if <(שלב) = [50]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n        go to [front v] layer\n    else\n        set size to (100) %\n        go to [front v] layer\n    end\nend\n\n@torch\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nforever\n    go to [back v] layer\n    switch costume to (1 v)\n    wait (0.06) seconds\n    switch costume to (2 v)\n    wait (0.06) seconds\n    switch costume to (3 v)\n    wait (0.06) seconds\n    switch costume to (4 v)\n    wait (0.06) seconds\n    switch costume to (5 v)\n    wait (0.06) seconds\n    switch costume to (6 v)\n    wait (0.06) seconds\n    switch costume to (7 v)\n    wait (0.06) seconds\n    switch costume to (8 v)\n    wait (0.06) seconds\n    switch costume to (9 v)\n    wait (0.06) seconds\n    switch costume to (10 v)\n    wait (0.06) seconds\n    switch costume to (11 v)\n    wait (0.06) seconds\n    switch costume to (12 v)\n    wait (0.06) seconds\n    switch costume to (13 v)\n    wait (0.06) seconds\n    switch costume to (14 v)\n    wait (0.06) seconds\n    switch costume to (13 v)\n    wait (0.06) seconds\n    switch costume to (12 v)\n    wait (0.06) seconds\n    switch costume to (11 v)\n    wait (0.06) seconds\n    switch costume to (10 v)\n    wait (0.06) seconds\n    switch costume to (9 v)\n    wait (0.06) seconds\n    switch costume to (8 v)\n    wait (0.06) seconds\n    switch costume to (7 v)\n    wait (0.06) seconds\n    switch costume to (6 v)\n    wait (0.06) seconds\n    switch costume to (5 v)\n    wait (0.06) seconds\n    switch costume to (4 v)\n    wait (0.06) seconds\n    switch costume to (3 v)\n    wait (0.06) seconds\n    switch costume to (2 v)\n    wait (0.06) seconds\n    switch costume to (1 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [התחל v]\ngo to x: (160) y: (117)\ncreate clone of (_myself_ v)\ngo to x: (-160) y: (117)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    wait until <not <(backdrop [number v]) = [1]>>\n    hide\nend\n\nwhen I start as a clone\nforever\n    wait until <(יוצר שלב?) = [1]>\n    hide\n    wait until <(יוצר שלב?) = [0]>\n    if <(backdrop [number v]) = [1]> then\n        show\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [התחל v]\ngo to [front v] layer\nswitch costume to (costume1 v)\ngo to x: (245) y: (-130)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (55) %\n    else\n        go to [front v] layer\n        set size to (50) %\n        go to [front v] layer\n    end\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(עוצמת קול) = [0]> then\n            set [עצירה v] to [1]\n            switch costume to (costume1 v)\n            broadcast (תגביר v)\n            wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n            set [עצירה v] to [0]\n        else\n            set [עצירה v] to [1]\n            switch costume to (costume2 v)\n            broadcast (תנמיך v)\n            wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n            set [עצירה v] to [0]\n        end\n    end\nend\n\nwhen I receive [הסתר הכל v]\ngo to x: (245) y: (-130)\nhide\n\nwhen I receive [חזרה למשחק v]\ngo to x: (245) y: (-130)\nshow\n\n@דמות3\n\nwhen flag clicked\nswitch costume to (תלבושת1 v)\nset [רכשתי נינגה v] to [0]\nhide\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\nshow\ngo to x: (37) y: (129)\nif <(רכשתי נינגה) = [1]> then\n    switch costume to (תלבושת2 v)\nend\nforever\n    if <<<(החנות פתוחה) = [1]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <(יוצר שלב?) = [0]>> then\n        set [עצירה v] to [1]\n        if <<(כסף) > [1]> or <(רכשתי נינגה) = [1]>> then\n            broadcast (תלבושת נינגה v)\n            if <(רכשתי נינגה) = [0]> then\n                start sound [פופ v]\n                change [כסף v] by (-2)\n            end\n            broadcast (סגור חנות v)\n            set [רכשתי נינגה v] to [1]\n            wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n            set [עצירה v] to [0]\n        else\n            say (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n        end\n    end\nend\n\nwhen I receive [סגור חנות v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\n@דמות4\n\nwhen flag clicked\nswitch costume to (תלבושת1 v)\nset [רכשתי ופל v] to [0]\nhide\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\nshow\ngo to x: (-47) y: (129)\nif <(רכשתי ופל) = [1]> then\n    switch costume to (תלבושת2 v)\nend\nforever\n    if <<<(החנות פתוחה) = [1]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <(יוצר שלב?) = [0]>> then\n        set [עצירה v] to [1]\n        if <<(כסף) > [5]> or <(רכשתי ופל) = [1]>> then\n            broadcast (תלבושת ופל v)\n            if <(רכשתי ופל) = [0]> then\n                start sound [פופ v]\n                change [כסף v] by (-6)\n            end\n            broadcast (סגור חנות v)\n            set [רכשתי ופל v] to [1]\n            wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n            set [עצירה v] to [0]\n        else\n            say (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n        end\n    end\nend\n\nwhen I receive [סגור חנות v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\n@numbers\n\nwhen flag clicked\nhide variable [השתנות כסף v]\nset [השתנות כסף v] to [0]\nhide variable [מספר אות v]\nhide\n\nwhen I receive [החנות נפתחה v]\nset [השתנות כסף v] to (כסף)\ngo to x: (186) y: (58)\nset [מספר אות v] to [1]\nrepeat (length of (כסף))\n    switch costume to (letter (מספר אות) of (כסף))\n    create clone of (_myself_ v)\n    move (17) steps\n    change [מספר אות v] by (1)\nend\nrepeat until <(החנות פתוחה) = [0]>\n    if <not <(השתנות כסף) = (כסף)>> then\n        wait (0.1) seconds\n        go to x: (186) y: (58)\n        set [מספר אות v] to [1]\n        set [השתנות כסף v] to (כסף)\n        repeat (length of (כסף))\n            switch costume to (letter (מספר אות) of (כסף))\n            create clone of (_myself_ v)\n            move (15) steps\n            change [מספר אות v] by (1)\n        end\n    end\nend\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nwait until <<<not <(השתנות כסף) = (כסף)>> or <(החנות פתוחה) = [0]>> or <(יוצר שלב?) = [1]>>\ndelete this clone\n\n@דמות5\n\nwhen flag clicked\nswitch costume to (תלבושת1 v)\nset [רכשתי ציפס v] to [0]\nhide\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\nshow\ngo to x: (-131) y: (129)\nif <(רכשתי ציפס) = [1]> then\n    switch costume to (תלבושת2 v)\nend\nforever\n    if <<<(החנות פתוחה) = [1]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <(יוצר שלב?) = [0]>> then\n        if <<(כסף) > [10]> or <(רכשתי ציפס) = [1]>> then\n            set [עצירה v] to [1]\n            broadcast (תלבושת ציפס v)\n            if <(רכשתי ציפס) = [0]> then\n                start sound [פופ v]\n                change [כסף v] by (-11)\n            end\n            broadcast (סגור חנות v)\n            set [רכשתי ציפס v] to [1]\n            wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n            set [עצירה v] to [0]\n        else\n            say (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n        end\n    end\nend\n\nwhen I receive [סגור חנות v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\n@דמות6\n\nwhen flag clicked\nswitch costume to (תלבושת1 v)\nset [רכשתי מחליף צבע v] to [0]\nhide\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\nshow\ngo to x: (-126) y: (-66)\nif <(רכשתי מחליף צבע) = [1]> then\n    switch costume to (תלבושת2 v)\nend\nforever\n    if <<<(החנות פתוחה) = [1]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <(יוצר שלב?) = [0]>> then\n        set [עצירה v] to [1]\n        if <<(כסף) > [6]> or <(רכשתי מחליף צבע) = [1]>> then\n            broadcast (תלבושת מחליף צבע v)\n            if <(רכשתי מחליף צבע) = [0]> then\n                start sound [פופ v]\n                change [כסף v] by (-7)\n            end\n            broadcast (סגור חנות v)\n            set [רכשתי מחליף צבע v] to [1]\n            wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n            set [עצירה v] to [0]\n        else\n            say (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n        end\n    end\nend\n\nwhen I receive [סגור חנות v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\n@דמות7\n\nwhen flag clicked\nhide\ngo to [back v] layer\ngo [forward v] (2) layers\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\ngo to x: (188) y: (55)\nshow\nwait until <<(יוצר שלב?) = [1]> or <(החנות פתוחה) = [0]>>\nhide\n\n@דמות8\n\nwhen flag clicked\nswitch costume to (תלבושת1 v)\nset [רכשתי פינגווין v] to [0]\nhide\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\nshow\ngo to x: (-36) y: (-69)\nif <(רכשתי פינגווין) = [1]> then\n    switch costume to (תלבושת2 v)\nend\nforever\n    if <<<(החנות פתוחה) = [1]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <(יוצר שלב?) = [0]>> then\n        set [עצירה v] to [1]\n        if <<(כסף) > [7]> or <(רכשתי פינגווין) = [1]>> then\n            broadcast (תלבושת פינגווין v)\n            if <(רכשתי פינגווין) = [0]> then\n                start sound [פופ v]\n                change [כסף v] by (-8)\n            end\n            broadcast (סגור חנות v)\n            set [רכשתי פינגווין v] to [1]\n            wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n            set [עצירה v] to [0]\n        else\n            say (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n        end\n    end\nend\n\nwhen I receive [סגור חנות v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\n@דמות9\n\nwhen flag clicked\nhide\nforever\n    if <<([costume # v] of [cube v]) = [6]> and <<(יוצר שלב?) = [0]> or <(משחק) = [1]>>> then\n        go to (cube v)\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [התחל v]\nshow\n\nwhen I receive [הסתר הכל v]\nhide\n\n@דמות10\n\nwhen flag clicked\nhide\nforever\n    if <<([costume # v] of [cube v]) = [6]> and <<(יוצר שלב?) = [0]> or <(משחק) = [1]>>> then\n        create clone of (_myself_ v)\n    else\n        hide\n    end\nend\n\nwhen I receive [התחל v]\nshow\n\nwhen I receive [הסתר הכל v]\nhide\n\nwhen I start as a clone\ngo to [back v] layer\ngo to (דמות9 v)\nchange y by (60)\nchange x by (pick random (-25) to (25))\nshow\nrepeat (10)\n    change y by (-5)\nend\ndelete this clone\n\n@כוכב ולב\n\nwhen I start as a clone\nhide variable [כיוון v]\nhide variable [תנועה v]\nset [תנועה v] to [0]\nif <(תנועה) = [0]> then\n    set [תנועה v] to [25]\nend\nrepeat (50)\n    change y by (תנועה)\n    change [תנועה v] by (-1)\n    turn right (כיוון) degrees\nend\ndelete this clone\n\nwhen I start as a clone\nset [כיוון v] to (pick random (3) to (15))\ngo to x: (pick random (-250) to (250)) y: (-195)\nset size to (pick random (75) to (115)) %\nswitch costume to (pick random (1) to (8))\ngo [forward v] (50) layers\nshow\n\nwhen flag clicked\nhide\ngo to x: (0) y: (-195)\nrepeat (40)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen flag clicked\nforever\n    play sound [Unison-Aperture-NCS-Release v] until done\nend\n\n@cube2\n\nwhen flag clicked\nset [פוסל אותי1 v] to [0]\nset [פוסל אותי2 v] to [0]\nset [שחקנים תפוסים v] to []\nhide variable [שחקנים תפוסים v]\nhide\n\nwhen I start as a clone\nhide\nif <(כפיל שלי) = [1]> then\n    if <not <(מחובר שלי) = [1]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P1)) (letter (2) of (☁ P1)))> and <not <(☁ P1) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P1)) (join (letter (4) of (☁ P1)) (join (letter (5) of (☁ P1)) (letter (6) of (☁ P1))))) - (240)) y: ((join (letter (7) of (☁ P1)) (join (letter (8) of (☁ P1)) (join (letter (9) of (☁ P1)) (letter (10) of (☁ P1))))) - (180))\n                if <touching (cube v)?> then\n                    set [פוסל אותי1 v] to [1]\n                else\n                    set [פוסל אותי1 v] to [0]\n                end\n                switch costume to (letter (11) of (☁ P1))\n            else\n                hide\n            end\n        end\n    end\nend\nif <(כפיל שלי) = [2]> then\n    if <not <(מחובר שלי) = [2]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P2)) (letter (2) of (☁ P2)))> and <not <(☁ P2) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P2)) (join (letter (4) of (☁ P2)) (join (letter (5) of (☁ P2)) (letter (6) of (☁ P2))))) - (240)) y: ((join (letter (7) of (☁ P2)) (join (letter (8) of (☁ P2)) (join (letter (9) of (☁ P2)) (letter (10) of (☁ P2))))) - (180))\n                if <touching (cube v)?> then\n                    set [פוסל אותי2 v] to [2]\n                else\n                    set [פוסל אותי2 v] to [0]\n                end\n                switch costume to (letter (11) of (☁ P2))\n            else\n                hide\n            end\n        end\n    end\nend\nif <(כפיל שלי) = [3]> then\n    if <not <(מחובר שלי) = [3]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P3)) (letter (2) of (☁ P3)))> and <not <(☁ P3) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P3)) (join (letter (4) of (☁ P3)) (join (letter (5) of (☁ P3)) (letter (6) of (☁ P3))))) - (240)) y: ((join (letter (7) of (☁ P3)) (join (letter (8) of (☁ P3)) (join (letter (9) of (☁ P3)) (letter (10) of (☁ P3))))) - (180))\n                if <touching (cube v)?> then\n                    set [פוסל אותי3 v] to [3]\n                else\n                    set [פוסל אותי3 v] to [0]\n                end\n                switch costume to (letter (11) of (☁ P3))\n            else\n                hide\n            end\n        end\n    end\nend\nif <(כפיל שלי) = [4]> then\n    if <not <(מחובר שלי) = [4]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P4)) (letter (2) of (☁ P4)))> and <not <(☁ P4) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P4)) (join (letter (4) of (☁ P4)) (join (letter (5) of (☁ P4)) (letter (6) of (☁ P4))))) - (240)) y: ((join (letter (7) of (☁ P4)) (join (letter (8) of (☁ P4)) (join (letter (9) of (☁ P4)) (letter (10) of (☁ P4))))) - (180))\n                switch costume to (letter (11) of (☁ P4))\n            else\n                hide\n            end\n        end\n    end\nend\nif <(כפיל שלי) = [5]> then\n    if <not <(מחובר שלי) = [5]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P5)) (letter (2) of (☁ P5)))> and <not <(☁ P5) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P5)) (join (letter (4) of (☁ P5)) (join (letter (5) of (☁ P5)) (letter (6) of (☁ P5))))) - (240)) y: ((join (letter (7) of (☁ P5)) (join (letter (8) of (☁ P5)) (join (letter (9) of (☁ P5)) (letter (10) of (☁ P5))))) - (180))\n                switch costume to (letter (11) of (☁ P5))\n            else\n                hide\n            end\n        end\n    end\nend\nif <(כפיל שלי) = [6]> then\n    if <not <(מחובר שלי) = [6]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P6)) (letter (2) of (☁ P6)))> and <not <(☁ P6) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P6)) (join (letter (4) of (☁ P6)) (join (letter (5) of (☁ P6)) (letter (6) of (☁ P6))))) - (240)) y: ((join (letter (7) of (☁ P6)) (join (letter (8) of (☁ P6)) (join (letter (9) of (☁ P6)) (letter (10) of (☁ P6))))) - (180))\n                switch costume to (letter (11) of (☁ P6))\n            else\n                hide\n            end\n        end\n    end\nend\nif <(כפיל שלי) = [7]> then\n    if <not <(מחובר שלי) = [7]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P7)) (letter (2) of (☁ P7)))> and <not <(☁ P7) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P7)) (join (letter (4) of (☁ P7)) (join (letter (5) of (☁ P7)) (letter (6) of (☁ P7))))) - (240)) y: ((join (letter (7) of (☁ P7)) (join (letter (8) of (☁ P7)) (join (letter (9) of (☁ P7)) (letter (10) of (☁ P7))))) - (180))\n                switch costume to (letter (11) of (☁ P7))\n            else\n                hide\n            end\n        end\n    end\nend\nif <(כפיל שלי) = [8]> then\n    if <not <(מחובר שלי) = [8]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P8)) (letter (2) of (☁ P8)))> and <not <(☁ P8) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P8)) (join (letter (4) of (☁ P8)) (join (letter (5) of (☁ P8)) (letter (6) of (☁ P8))))) - (240)) y: ((join (letter (7) of (☁ P8)) (join (letter (8) of (☁ P8)) (join (letter (9) of (☁ P8)) (letter (10) of (☁ P8))))) - (180))\n                switch costume to (letter (11) of (☁ P8))\n            else\n                hide\n            end\n        end\n    end\nend\nif <(כפיל שלי) = [9]> then\n    if <not <(מחובר שלי) = [9]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P9)) (letter (2) of (☁ P9)))> and <not <(☁ P9) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P9)) (join (letter (4) of (☁ P9)) (join (letter (5) of (☁ P9)) (letter (6) of (☁ P9))))) - (240)) y: ((join (letter (7) of (☁ P9)) (join (letter (8) of (☁ P9)) (join (letter (9) of (☁ P9)) (letter (10) of (☁ P9))))) - (180))\n                switch costume to (letter (11) of (☁ P9))\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [אונליין v]\nset [כפיל שלי v] to [0]\nrepeat (9)\n    change [כפיל שלי v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [צבע 2 v] to [0]\nforever\n    if <(costume [number v]) = [5]> then\n        change [צבע 2 v] by (1)\n        set [color v] effect to (צבע 2)\n    else\n        set [color v] effect to (0)\n    end\nend\n\nif <(כפיל שלי) = [10]> then\n    if <not <(מחובר שלי) = [10]>> then\n        forever\n            if <<(יוצר שלב?) = [0]> and <<([costume name v] of [level v]) = (join (letter (1) of (☁ P10)) (letter (2) of (☁ P10)))> and <not <(☁ P10) = []>>>> then\n                show\n                go to x: ((join (letter (3) of (☁ P10)) (join (letter (4) of (☁ P10)) (join (letter (5) of (☁ P10)) (letter (6) of (☁ P10))))) - (240)) y: ((join (letter (7) of (☁ P10)) (join (letter (8) of (☁ P10)) (join (letter (9) of (☁ P10)) (letter (10) of (☁ P10))))) - (180))\n                switch costume to (letter (11) of (☁ P10))\n            else\n                hide\n            end\n        end\n    end\nend\n\n@online\n\nwhen [timer v] > (טיימר)\nif <(מחובר שלי) = [1]> then\n    set [☁ p1 v] to []\n    set [מחובר שלי v] to []\nelse\n    if <(מחובר שלי) = [2]> then\n        set [☁ p2 v] to []\n        set [מחובר שלי v] to []\n    else\n        if <(מחובר שלי) = [3]> then\n            set [☁ p3 v] to []\n            set [מחובר שלי v] to []\n        else\n            if <(מחובר שלי) = [4]> then\n                set [☁ p4 v] to []\n                set [מחובר שלי v] to []\n            else\n                if <(מחובר שלי) = [5]> then\n                    set [☁ p5 v] to []\n                    set [מחובר שלי v] to []\n                else\n                    if <(מחובר שלי) = [6]> then\n                        set [☁ p6 v] to []\n                        set [מחובר שלי v] to []\n                    else\n                        if <(מחובר שלי) = [7]> then\n                            set [☁ p7 v] to []\n                            set [מחובר שלי v] to []\n                        else\n                            if <(מחובר שלי) = [8]> then\n                                set [☁ p8 v] to []\n                                set [מחובר שלי v] to []\n                            else\n                                if <(מחובר שלי) = [9]> then\n                                    set [☁ p9 v] to []\n                                    set [מחובר שלי v] to []\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (0) y: (0)\nhide variable [☁ p1 v]\nhide variable [☁ p2 v]\nhide variable [☁ p3 v]\nhide variable [☁ p4 v]\nhide variable [☁ p5 v]\nhide variable [☁ p6 v]\nhide variable [☁ p7 v]\nhide variable [☁ p8 v]\nhide variable [☁ p9 v]\nhide variable [מחובר שלי v]\nset [מחובר שלי v] to []\n\nwhen I receive [התחל v]\ngo to x: (0) y: (200)\ngo to [front v] layer\nswitch costume to (connecting v)\nshow\nglide (1) secs to x: (0) y: (0)\nwait (3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nif <<(☁ P1) = []> or <<(☁ P2) = []> or <<(☁ P3) = []> or <<(☁ P4) = []> or <<(☁ P5) = []> or <<(☁ P6) = []> or <<(☁ P7) = []> or <<(☁ P8) = []> or <(☁ P9) = []>>>>>>>>> then\n    switch costume to (connected v)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (2) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\n    broadcast (אונליין v)\n    if <[] = (☁ P1)> then\n        forever\n            set [מחובר שלי v] to [1]\n            if < ([x position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            end\n            if < ([y position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            end\n            if <<(נוגע במישהו) = [1]> and <<key (down arrow v) pressed?> or <mouse down?>>> then\n                set [פוסל מישהו v] to [1]\n            else\n                set [פוסל מישהו v] to [0]\n            end\n            if <(פוסל אותי1) = [1]> then\n                set [במי לבחור v] to [1]\n            end\n            if <(פוסל אותי2) = [2]> then\n                set [במי לבחור v] to [2]\n            end\n            if <(פוסל אותי3) = [3]> then\n                set [במי לבחור v] to [3]\n            end\n            set [☁ p1 v] to (join (join ([costume name v] of [level v]) (join (ערך x) (ערך y))) (join ([costume name v] of [cube v]) (join (פוסל מישהו) (במי לבחור))))\n        end\n    end\n    if <[] = (☁ P2)> then\n        forever\n            set [מחובר שלי v] to [2]\n            if < ([x position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            end\n            if < ([y position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            end\n            if <<(נוגע במישהו) = [1]> and <<key (down arrow v) pressed?> or <mouse down?>>> then\n                set [פוסל מישהו v] to [1]\n            else\n                set [פוסל מישהו v] to [0]\n            end\n            if <(פוסל אותי1) = [1]> then\n                set [במי לבחור v] to [1]\n            end\n            if <(פוסל אותי2) = [2]> then\n                set [במי לבחור v] to [2]\n            end\n            if <(פוסל אותי3) = [3]> then\n                set [במי לבחור v] to [3]\n            end\n            set [☁ p2 v] to (join (join ([costume name v] of [level v]) (join (ערך x) (ערך y))) (join ([costume name v] of [cube v]) (join (פוסל מישהו) (במי לבחור))))\n        end\n    end\n    if <[] = (☁ P3)> then\n        forever\n            set [מחובר שלי v] to [3]\n            if < ([x position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            end\n            if < ([y position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            end\n            if <<(נוגע במישהו) = [1]> and <<key (down arrow v) pressed?> or <mouse down?>>> then\n                set [פוסל מישהו v] to [1]\n            else\n                set [פוסל מישהו v] to [0]\n            end\n            if <(פוסל אותי1) = [1]> then\n                set [במי לבחור v] to [1]\n            end\n            if <(פוסל אותי2) = [2]> then\n                set [במי לבחור v] to [2]\n            end\n            if <(פוסל אותי3) = [3]> then\n                set [במי לבחור v] to [3]\n            end\n            set [☁ p3 v] to (join (join ([costume name v] of [level v]) (join (ערך x) (ערך y))) (join ([costume name v] of [cube v]) (join (פוסל מישהו) (במי לבחור))))\n        end\n    end\n    if <[] = (☁ P4)> then\n        forever\n            set [מחובר שלי v] to [4]\n            if < ([x position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            end\n            if < ([y position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            end\n            set [☁ p4 v] to (join (join ([costume name v] of [level v]) (join (ערך x) (ערך y))) ([costume name v] of [cube v]))\n        end\n    end\n    if <[] = (☁ P5)> then\n        forever\n            set [מחובר שלי v] to [5]\n            if < ([x position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            end\n            if < ([y position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            end\n            set [☁ p5 v] to (join (join ([costume name v] of [level v]) (join (ערך x) (ערך y))) ([costume name v] of [cube v]))\n        end\n    end\n    if <[] = (☁ P6)> then\n        forever\n            set [מחובר שלי v] to [6]\n            if < ([x position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            end\n            if < ([y position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            end\n            set [☁ p6 v] to (join (join ([costume name v] of [level v]) (join (ערך x) (ערך y))) ([costume name v] of [cube v]))\n        end\n    end\n    if <[] = (☁ P7)> then\n        forever\n            set [מחובר שלי v] to [7]\n            if < ([x position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            end\n            if < ([y position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            end\n            set [☁ p7 v] to (join (join ([costume name v] of [level v]) (join (ערך x) (ערך y))) ([costume name v] of [cube v]))\n        end\n    end\n    if <[] = (☁ P8)> then\n        forever\n            set [מחובר שלי v] to [8]\n            if < ([x position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            end\n            if < ([y position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            end\n            set [☁ p8 v] to (join (join ([costume name v] of [level v]) (join (ערך x) (ערך y))) ([costume name v] of [cube v]))\n        end\n    end\n    if <[] = (☁ P9)> then\n        forever\n            set [מחובר שלי v] to [9]\n            if < ([x position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                    set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n                end\n                if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                    set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n                end\n            end\n            if < ([y position v] of [cube v]) contains [-]?> then\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            else\n                if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                    set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n                end\n                if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                    set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n                end\n            end\n            set [☁ p9 v] to (join (join ([costume name v] of [level v]) (join (ערך x) (ערך y))) ([costume name v] of [cube v]))\n        end\n    end\nelse\n    switch costume to (full v)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (2) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\nif <[] = [50]> then\n    forever\n        set [מחובר שלי v] to [10]\n        if < ([x position v] of [cube v]) contains [-]?> then\n            if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n            end\n            if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n            end\n            if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n            end\n        else\n            if <<[-1] < ((240) + (round ([x position v] of [cube v])))> and <not <[9] < ((240) + (round ([x position v] of [cube v])))>>> then\n                set [ערך x v] to (join [000] ((240) + (round ([x position v] of [cube v]))))\n            end\n            if <<[9] < ((240) + (round ([x position v] of [cube v])))> and <not <[99] < ((240) + (round ([x position v] of [cube v])))>>> then\n                set [ערך x v] to (join [00] ((240) + (round ([x position v] of [cube v]))))\n            end\n            if <<[99] < ((240) + (round ([x position v] of [cube v])))> and <not <((240) + (round ([x position v] of [cube v]))) < [100]>>> then\n                set [ערך x v] to (join [0] ((240) + (round ([x position v] of [cube v]))))\n            end\n        end\n        if < ([y position v] of [cube v]) contains [-]?> then\n            if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n            end\n            if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n            end\n            if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n            end\n        else\n            if <<[-1] < ((180) + (round ([y position v] of [cube v])))> and <not <[9] < ((180) + (round ([y position v] of [cube v])))>>> then\n                set [ערך y v] to (join [000] ((180) + (round ([y position v] of [cube v]))))\n            end\n            if <<[9] < ((180) + (round ([y position v] of [cube v])))> and <not <[99] < ((180) + (round ([y position v] of [cube v])))>>> then\n                set [ערך y v] to (join [00] ((180) + (round ([y position v] of [cube v]))))\n            end\n            if <<[99] < ((180) + (round ([y position v] of [cube v])))> and <not <((180) + (round ([y position v] of [cube v]))) < [100]>>> then\n                set [ערך y v] to (join [0] ((180) + (round ([y position v] of [cube v]))))\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set [טיימר v] to ((0.5) + (timer))\nend\n\nwhen flag clicked\nset [מחובר שלי v] to []\n\nwhen flag clicked\nforever\n    set [☁ p1 v] to []\n    set [☁ p2 v] to []\n    set [☁ p3 v] to []\n    set [☁ p4 v] to []\n    set [☁ p5 v] to []\n    set [☁ p6 v] to []\n    set [☁ p7 v] to []\n    set [☁ p8 v] to []\n    set [☁ p9 v] to []\n    wait (20) seconds\nend\n\n@Enemies\n\nwhen flag clicked\nhide\n\ndefine גלוש אל... (שלב) (x) (x2) (y) (מהירות)\nif <(יוצר שלב?) = [0]> then\n    if <(שלב) = (שלב)> then\n        set [ghost v] effect to (0)\n        show\n        switch costume to (pick random (1) to (6))\n        go to x: (x) y: (y)\n        repeat until <not <(שלב) = (שלב)>>\n            set rotation style [left-right v]\n            glide (מהירות) secs to x: (x2) y: (y)\n            glide (מהירות) secs to x: (x) y: (y)\n        end\n    else\n        hide\n    end\nend\n\nwhen I receive [מסר 1 v]\nhide\nגלוש אל... [3] [116] [213] [-76] [2]\nגלוש אל... [8] [-103] [40] [-76] [3]\nגלוש אל... [13] [145] [215] [-76] [3]\nגלוש אל... [14] [-123] [-59] [-76] [2]\nגלוש אל... [15] [126] [211] [-76] [2]\nגלוש אל... [21] [145] [217] [-68] [1]\nגלוש אל... [23] [35] [126] [-68] [3]\nגלוש אל... [40] [23] [93] [-76] [3]\nגלוש אל... [41] [24] [195] [-76] [3]\n\nwhen I receive [דלג v]\nhide\nגלוש אל... [3] [116] [213] [-76] [2]\nגלוש אל... [8] [-103] [40] [-76] [3]\nגלוש אל... [13] [145] [215] [-76] [3]\nגלוש אל... [14] [-123] [-59] [-76] [2]\nגלוש אל... [15] [126] [211] [-76] [2]\nגלוש אל... [21] [145] [217] [-68] [1]\nגלוש אל... [23] [35] [126] [-68] [3]\nגלוש אל... [40] [23] [93] [-76] [3]\nגלוש אל... [41] [24] [195] [-76] [3]\n\nwhen I receive [הסתר הכל v]\nrepeat (10)\n    hide\nend\n\nwhen I receive [חזרה למשחק v]\nhide\nגלוש אל... [3] [116] [213] [-76] [2]\nגלוש אל... [8] [-103] [40] [-76] [3]\nגלוש אל... [13] [145] [215] [-76] [3]\nגלוש אל... [14] [-123] [-59] [-76] [2]\nגלוש אל... [15] [126] [211] [-76] [2]\nגלוש אל... [21] [145] [217] [-68] [1]\nגלוש אל... [23] [35] [126] [-68] [3]\nגלוש אל... [40] [23] [93] [-76] [3]\nגלוש אל... [41] [24] [195] [-76] [3]\n\nwhen flag clicked\nhide variable [רשע נפסל v]\nset [רשע נפסל v] to [0]\nforever\n    if <<touching (cube v)?> and <<((20) + (y position)) < ([y position v] of [cube v])> and <(עצור שיכפול) = [0]>>> then\n        set [רשע נפסל v] to [1]\n        stop [other scripts in sprite v]\n        start sound [Water Drop v]\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        hide\n        wait until <not <<touching (cube v)?> and <<((20) + (y position)) < ([y position v] of [cube v])> and <(עצור שיכפול) = [0]>>>>\n        set [רשע נפסל v] to [0]\n    end\nend\n\nwhen I receive [תגביר v]\nset volume to (100) %\n\nwhen I receive [תנמיך v]\nset volume to (0) %\n\nwhen I receive [שמירה קובייה v]\nhide\nwait (0.4) seconds\nגלוש אל... [3] [116] [213] [-76] [2]\nגלוש אל... [8] [-103] [40] [-76] [3]\nגלוש אל... [13] [145] [215] [-76] [3]\nגלוש אל... [14] [-123] [-59] [-76] [2]\nגלוש אל... [15] [126] [211] [-76] [2]\nגלוש אל... [21] [145] [217] [-68] [1]\nגלוש אל... [23] [35] [126] [-68] [3]\nגלוש אל... [40] [23] [93] [-76] [3]\nגלוש אל... [41] [24] [195] [-76] [3]\n\n@דמות14\n\nwhen flag clicked\nhide\nforever\n    next costume\nend\n\nwhen I receive [התחל v]\nforever\n    forever\n        if <(backdrop [number v]) = [2]> then\n            go to [back v] layer\n            show\n            glide (pick random (2) to (3)) secs to x: (pick random (200) to (-200)) y: (pick random (70) to (120))\n            wait (pick random (1) to (3)) seconds\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (-78) y: (96)\n\nwhen backdrop switches to [2 v]\nwait until <not <(backdrop [number v]) = [2]>>\nrepeat (20)\n    hide\nend\n\n@Snowflake\n\nwhen flag clicked\nhide\nforever\n    if <(backdrop [number v]) = [7]> then\n        create clone of (_myself_ v)\n        wait (pick random (0.1) to (0.3)) seconds\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (pick random (-200) to (200)) y: (160)\nrepeat until <touching (_edge_ v)?>\n    go to [front v] layer\n    change y by (pick random (-15) to (-17))\n    turn right (15) degrees\nend\nhide\ndelete this clone\n\nwhen I start as a clone\nwait until <not <(backdrop [number v]) = [7]>>\nwait (0.2) seconds\nhide\n\n@דמות12\n\nwhen flag clicked\ngo to x: (202) y: (-146)\nhide\n\nwhen I receive [בחר צבע v]\nwait (0.2) seconds\ngo to x: (202) y: (-146)\nshow\nswitch costume to (תלבושת1 v)\nrepeat until <not <(backdrop [number v]) = [5]>>\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            if <(costume [number v]) = [1]> then\n                go to x: (0) y: (0)\n                switch costume to (תלבושת2 v)\n                repeat (10)\n                    set size to (90) %\n                end\n                wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n            else\n                wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n                switch costume to (תלבושת1 v)\n                go to x: (202) y: (-146)\n                wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n            end\n        end\n    end\nend\nhide\n\nwhen I receive [בחר צבע v]\nwait (0.2) seconds\nforever\n    if <touching (mouse-pointer v)?> then\n        if <(costume [number v]) = [1]> then\n            repeat (5)\n                change size by (2)\n            end\n            wait until <not <touching (mouse-pointer v)?>>\n            if <(size) = [100]> then\n                repeat (5)\n                    change size by (-2)\n                end\n            end\n        end\n    end\nend\n\n@intro\n\ndefine smooth size (size) (speed) (bounce?) (add?)\nset size to (0) %\nif <(bounce?) = [true]> then\n    repeat (20)\n        set [i v] to (((i) * (0.75)) + (((size) - (size)) / (speed)))\n        change size by (i)\n    end\nend\nif <(bounce?) = [false]> then\n    repeat (20)\n        set [i v] to (((i) * (0.75)) + (((size) - (size)) / (speed)))\n        if <<(add?) > [0]> and <not <(letter (1) of (add?)) = [-]>>> then\n            set size to ((i) + (add?)) %\n        else\n            if <<(add?) < [0]> and <(letter (1) of (add?)) = [-]>> then\n                set size to ((i) - (add?)) %\n            end\n        end\n    end\nend\n\ndefine smooth glide to x position: (x) y position: (y) size: (size) direction: (direction) smoothness: (speed)\nrepeat until <<(round (x position)) = (x)> and <<(round (y position)) = (y)> and <<(round (size)) = (size)> and <(round (direction)) = (direction)>>>>\n    change x by (((x) - (x position)) / (speed))\n    change y by (((y) - (y position)) / (speed))\n    change size by (((size) - (size)) / (speed))\n    turn right (((direction) - (direction)) / (speed)) degrees\nend\n\nwhen I start as a clone\nshow\nif <(costume [name v]) = [in]> then\n    go to x: (0) y: (-240)\n    smooth glide to x position: (x position) y position: [0] size: [100] direction: [90] smoothness: [5]\n    wait (7) seconds\n    point in direction (-90)\n    smooth glide to x position: (x position) y position: [-383] size: [100] direction: [-90] smoothness: [5]\n    set [brightness v] effect to (-100)\n    change y by (-10)\n    repeat (10)\n        change [ghost v] effect by (10)\n        change [brightness v] effect by (-20)\n    end\n    delete this clone\nend\nif <(costume [name v]) = [in2]> then\n    clear graphic effects\n    go to [front v] layer\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (6) seconds\n    go to [front v] layer\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\nif <(costume [name v]) = [Logo]> then\n    clear graphic effects\n    show\n    go to x: (0) y: (0)\n    point in direction (90)\n    clear graphic effects\n    smooth size [100] [5] [true] [0]\nend\nif <(costume [name v]) = [Logo]> then\n    wait (7) seconds\n    smooth glide to x position: (x position) y position: [-380] size: [100] direction: [90] smoothness: [12]\n    hide\n    delete this clone\nend\nif <(costume [name v]) = [c]> then\n    show\n    point in direction (90)\n    go to x: (0) y: (0)\n    change x by (50)\n    change y by (-10)\n    set size to (100) %\n    clear graphic effects\n    set [ghost v] effect to (100)\n    repeat (25)\n        change [ghost v] effect by (-4)\n    end\nend\n\ndefine clones (#)\nrepeat (#)\n    switch costume to (particle v)\n    create clone of (_myself_ v)\n    turn left (15) degrees\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [4]> then\n    go to x: (0) y: (-20)\n    clear graphic effects\n    go to [front v] layer\n    set [momentum v] to (pick random (10) to (15))\n    set [yv v] to (pick random (2) to (7))\n    set [color v] effect to (pick random (1) to (299))\n    change size by (pick random (-150) to (0))\n    change [brightness v] effect by (pick random (-20) to (20))\n    turn right (pick random (-10) to (10)) degrees\n    show\n    repeat until <touching (_edge_ v)?>\n        go to [front v] layer\n        move (Momentum) steps\n        change y by (Yv)\n        change [yv v] by (-0.4)\n        set [momentum v] to ((Momentum) * (0.95))\n        change [color v] effect by (7)\n    end\n    hide\n    delete this clone\nend\n\nwhen I receive [delete v]\ndelete this clone\n\ndelete this clone\n\nwhen I receive [ינטרו v]\nstart sound [Ship Wreck - Ark v]\npoint in direction (90)\nclear graphic effects\nset size to (100) %\nhide\nswitch costume to (in v)\nset [brightness v] effect to (100)\nrepeat (6)\n    wait (0.03) seconds\n    switch costume to (in v)\n    change [brightness v] effect by (-20)\n    create clone of (_myself_ v)\nend\nrepeat (6)\n    wait (0.03) seconds\n    change [brightness v] effect by (-20)\nend\nswitch costume to (in2 v)\ncreate clone of (_myself_ v)\nswitch costume to (logo v)\ncreate clone of (_myself_ v)\nwait (1) seconds\nclones [200]\nwait (1) seconds\nswitch costume to (c v)\ncreate clone of (_myself_ v)\nwait (6) seconds\nbroadcast (delete v) and wait\nbroadcast (בחר צבע v)\n\nwhen I receive [ינטרו v]\nforever\n    if <<(backdrop [number v]) = [6]> or <(backdrop [number v]) = [5]>> then\n        play sound [YyvfcIzEaKt5 v] until done\n    end\nend\n\nwhen I receive [התחל v]\nstop [other scripts in sprite v]\nstop [this script v]\n\nclones [200]\n\n@דמות15\n\nwhen flag clicked\nswitch costume to (תלבושת1 v)\nset [רכשתי שוקולד v] to [0]\nhide\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\nshow\ngo to x: (-131) y: (50)\nif <(רכשתי שוקולד) = [1]> then\n    switch costume to (תלבושת2 v)\nend\nforever\n    if <<<(החנות פתוחה) = [1]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <(יוצר שלב?) = [0]>> then\n        set [עצירה v] to [1]\n        if <<(כסף) > [5]> or <(רכשתי שוקולד) = [1]>> then\n            broadcast (תלבושת שוקולד v)\n            if <(רכשתי שוקולד) = [0]> then\n                start sound [פופ v]\n                change [כסף v] by (-6)\n            end\n            broadcast (סגור חנות v)\n            set [רכשתי שוקולד v] to [1]\n            wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n            set [עצירה v] to [0]\n        else\n            say (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n        end\n    end\nend\n\nwhen I receive [סגור חנות v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\n@דמות16\n\nwhen flag clicked\nswitch costume to (תלבושת1 v)\nset [רכשתי גלידה v] to [0]\nhide\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\nshow\ngo to x: (-47) y: (50)\nif <(רכשתי גלידה) = [1]> then\n    switch costume to (תלבושת2 v)\nend\nforever\n    if <<<(החנות פתוחה) = [1]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <(יוצר שלב?) = [0]>> then\n        set [עצירה v] to [1]\n        if <<(כסף) > [4]> or <(רכשתי גלידה) = [1]>> then\n            broadcast (תלבושת גלידה v)\n            if <(רכשתי גלידה) = [0]> then\n                start sound [פופ v]\n                change [כסף v] by (-5)\n            end\n            broadcast (סגור חנות v)\n            set [רכשתי גלידה v] to [1]\n            wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n            set [עצירה v] to [0]\n        else\n            say (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n        end\n    end\nend\n\nwhen I receive [סגור חנות v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\n@דמות11\n\nwhen flag clicked\nswitch costume to (תלבושת1 v)\nset [רכשתי מתנה v] to [0]\nhide\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\nshow\ngo to x: (39) y: (46)\nif <(רכשתי מתנה) = [1]> then\n    switch costume to (תלבושת2 v)\nend\nforever\n    if <<<(החנות פתוחה) = [1]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <(יוצר שלב?) = [0]>> then\n        set [עצירה v] to [1]\n        if <<(כסף) > [3]> or <(רכשתי מתנה) = [1]>> then\n            broadcast (תלבושת מתנה v)\n            if <(רכשתי מתנה) = [0]> then\n                start sound [פופ v]\n                change [כסף v] by (-4)\n            end\n            broadcast (סגור חנות v)\n            set [רכשתי מתנה v] to [1]\n            wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n            set [עצירה v] to [0]\n        else\n            say (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n        end\n    end\nend\n\nwhen I receive [סגור חנות v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\n@דמות18\n\nwhen I receive [התחל v]\ngo to x: (61) y: (-162)\nshow list [שמירת קוד v]\ndelete all of [שמירת קוד v]\nrepeat (3)\n    add [] to [שמירת קוד v]\nend\nshow\nforever\n    go to [front v] layer\n    wait until <<mouse down?> and <<touching (mouse-pointer v)?> and <(יוצר שלב?) = [0]>>>\n    hide list [שמירת קוד v]\n    replace item (1) of [שמירת קוד v] with [Copy the following code using the ctrl + c keys:]\n    replace item (2) of [שמירת קוד v] with (join ([costume name v] of [level v]) (join (pick random (1000) to (9999)) (join (join (current [year v]) (current [dayofweek v])) (join (רכשתי גלידה) (join (רכשתי ופל) (join (רכשתי מחליף צבע) (join (רכשתי נינגה) (join (רכשתי פינגווין) (join (רכשתי ציפס) (join (רכשתי שוקולד) (join (רכשתי מתנה) (join (רכשתי מהירות) (join [abd124] (join (backdrop [name v]) (join (pick random (1000000) to (9999999)) [azqwjlgdfg])))))))))))))))\n    replace item (3) of [שמירת קוד v] with [Press the Enter key to exit.]\n    wait until <key ((join [enter] []) v) pressed?>\n    show list [שמירת קוד v]\nend\n\nwhen flag clicked\nshow list [שמירת קוד v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\nwhen I receive [חזרה למשחק v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [מסר 1 v]\nwait (0.1) seconds\nreplace item (2) of [שמירת קוד v] with (join ([costume name v] of [level v]) (join (pick random (1000) to (9999)) (join (join (current [year v]) (current [dayofweek v])) (join (רכשתי גלידה) (join (רכשתי ופל) (join (רכשתי מחליף צבע) (join (רכשתי נינגה) (join (רכשתי פינגווין) (join (רכשתי ציפס) (join (רכשתי שוקולד) (join [abd124] (join (backdrop [name v]) (join (pick random (1000000) to (9999999)) [azqwjlgdfg])))))))))))))\n\nwhen I receive [דלג v]\nwait (0.1) seconds\nreplace item (2) of [שמירת קוד v] with (join ([costume name v] of [level v]) (join (pick random (1000) to (9999)) (join (join (current [year v]) (current [dayofweek v])) (join (רכשתי גלידה) (join (רכשתי ופל) (join (רכשתי מחליף צבע) (join (רכשתי נינגה) (join (רכשתי פינגווין) (join (רכשתי ציפס) (join (רכשתי שוקולד) (join [abd124] (join (backdrop [name v]) (join (pick random (1000000) to (9999999)) [azqwjlgdfg])))))))))))))\n\nwhen I receive [שמירה קובייה v]\nwait (0.4) seconds\nreplace item (2) of [שמירת קוד v] with (join ([costume name v] of [level v]) (join (pick random (1000) to (9999)) (join (join (current [year v]) (current [dayofweek v])) (join (רכשתי גלידה) (join (רכשתי ופל) (join (רכשתי מחליף צבע) (join (רכשתי נינגה) (join (רכשתי פינגווין) (join (רכשתי ציפס) (join (רכשתי שוקולד) (join [abd124] (join (backdrop [name v]) (join (pick random (1000000) to (9999999)) [azqwjlgdfg])))))))))))))\n\n@דמות19\n\nwhen I receive [התחל v]\nhide variable [שמירה v]\ngo to x: (-53) y: (-162)\nshow\nforever\n    go to [front v] layer\n    wait until <<mouse down?> and <<touching (mouse-pointer v)?> and <(יוצר שלב?) = [0]>>>\n    broadcast (קוד v) and wait\n    if <<(length of (answer)) = [44]> and <(letter (44) of (answer)) = [g]>> then\n        set [שמירה v] to (join (letter (1) of (answer)) (letter (2) of (answer)))\n        broadcast (שמירה קובייה v)\n        set [רכשתי גלידה v] to (letter (12) of (answer))\n        set [רכשתי ופל v] to (letter (13) of (answer))\n        set [רכשתי מחליף צבע v] to (letter (14) of (answer))\n        set [רכשתי נינגה v] to (letter (15) of (answer))\n        set [רכשתי פינגווין v] to (letter (16) of (answer))\n        set [רכשתי ציפס v] to (letter (17) of (answer))\n        set [רכשתי שוקולד v] to (letter (18) of (answer))\n        set [רכשתי מתנה v] to (letter (19) of (answer))\n        set [רכשתי מהירות v] to (letter (20) of (answer))\n        switch backdrop to (letter (27) of (answer))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\nwhen I receive [חזרה למשחק v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\n@דמות17\n\nwhen flag clicked\nset [מהירות מופעלת v] to [0]\nswitch costume to (תלבושת1 v)\nset [רכשתי מהירות v] to [0]\nhide\n\nwhen I receive [החנות נפתחה v]\ngo to [front v] layer\nshow\ngo to x: (36) y: (-48)\nif <(רכשתי מהירות) = [1]> then\n    switch costume to (תלבושת3 v)\nend\nforever\n    if <<<(החנות פתוחה) = [1]> and <<touching (mouse-pointer v)?> and <mouse down?>>> and <(יוצר שלב?) = [0]>> then\n        set [עצירה v] to [1]\n        if <<(כסף) > [9]> or <(רכשתי מהירות) = [1]>> then\n            if <(רכשתי מהירות) = [0]> then\n                set [מהירות מופעלת v] to [1]\n                start sound [פופ v]\n                change [כסף v] by (-10)\n                broadcast (סגור חנות v)\n                set [רכשתי מהירות v] to [1]\n                wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n                set [עצירה v] to [0]\n            end\n        else\n            say (translate [.You do not have enough money] to ((language::translate) v)::translate) for (2) seconds\n        end\n    end\nend\n\nwhen I receive [סגור חנות v]\nhide\n\nwhen I receive [הסתר הכל v]\nhide\n\n@דמות20\n\n
Help Holdy get home !!\n\nMove with the arrows and jump with the space and try to avoid the obstacles.\nWill you be able to finish the game ????\n\nAnd now you can play online with people from all over the world !!!!!!!\n\nComing soon - Online Fighting.\n\n