CubeLand(Platformer)  #games#all

Instructions: #Use The W,A,S,D ad Arrow Keys To Move\n# Stomp Enemies And Collect Coins To Gain Points\n# Avoid Saws And Water\n# Press Space To Skip, It Will Deduct 100 points\n\n\n\n\n#All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials\n#All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music #All #Animations #Games #Stories #Tutorials #Music

@Stage\n\nwhen flag clicked\nbroadcast (Start v)\n\nwhen I receive [start v]\nset [score v] to [0]\ndelete all of [killed_enemies v]\nforever\n    change [time v] by (1)\nend\n\nwhen I receive [start v]\nforever\n    play sound [Vexento - We Are One v] until done\nend\n\nwhen I receive [highscore v]\nforever\n    if <(Score) > (☁ Highscore)> then\n        set [☁ highscore v] to (Score)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <<key (space v) pressed?> and <not <(Level) = [41]>>> then\n        if <(Score) > [99]> then\n            change [score v] by (-100)\n        else\n            change [score v] by ((Score) * (-1))\n        end\n        set [finish v] to [Yes]\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\n@Blank\n\n@Player\n\ndefine Game On\nset [sx v] to [0]\nset [x v] to [-225]\nset [y v] to [-101]\nset [sy v] to [0]\nset [in air v] to [0]\nset rotation style [left-right v]\npoint in direction (90)\ngo to [back v] layer\ngo [forward v] (2) layers\nclear graphic effects\nshow\nset [finish v] to []\nset [death v] to [False]\n\ndefine Movement\nswitch costume to (hitbox v)\nif <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    point in direction (-90)\n    change [sx v] by (-1.2)\nend\nif <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    point in direction (90)\n    change [sx v] by (1.2)\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player x by (round (sx))\nend\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <(in air) < [4]> then\n        set [sy v] to [14]\n    end\nend\nif <(sy) > [-20]> then\n    change [sy v] by (-2)\nend\nChange Player y by (sy)\nDie\nPosition\nswitch costume to (1 v)\nif <(y position) < [-179]> then\n    set [finish v] to [No]\nend\n\nwhen I receive [start v]\nset [level v] to [1]\nbroadcast (Delete v)\nbroadcast (Create v)\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(Finish) > []>\n        Movement\n    end\n    if <(Finish) = [Yes]> then\n        Game Con\n    else\n        Game End\n    end\nend\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <<touching (platform v)?> or <touching (crates v)?>>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Position\ngo to x: (x) y: (y)\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nif <<touching (platform v)?> or <touching (crates v)?>> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <<touching (platform v)?> or <touching (crates v)?>>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        start sound [wall_jump v]\n        if <(sx) > [0]> then\n            set [sx v] to [-12]\n        else\n            set [sx v] to [12]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <<touching (platform v)?> or <touching (crates v)?>>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game End\nstart sound [hit v]\nset [death v] to [True]\nset [finish v] to []\nset rotation style [all around v]\nset [sx v] to [0]\nset [sy v] to [5]\nrepeat (12)\n    turn right (8) degrees\n    change y by (sy)\n    change [sy v] by (-1)\n    change [ghost v] effect by (8)\nend\nrepeat until <[-179] > (y position)>\n    change y by (sy)\n    change [sy v] by (-1)\nend\nif <not <(Score) < [50]>> then\n    change [score v] by (-50)\nend\n\ndefine Die\nif <<touching (danger v)?> or <touching (saw v)?>> then\n    set [finish v] to [No]\nend\n\ndefine Game Con\nbroadcast (Transition v)\nbroadcast (Delete v)\nbroadcast (Create v)\nhide\nchange [level v] by (1)\nif <(Level) = [41]> then\n    broadcast (Highscore v)\nend\n\nwhen I receive [bounce v]\nif <(Finish) = []> then\n    set [sy v] to [14]\nend\n\nwhen I receive [start v]\nforever\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <<(in air) < [4]> and <(death) = [False]>> then\n            play sound [jump v] until done\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(x) < [-230]> then\n        set [x v] to [-230]\n    end\n    if <<(x) > [241]> and <not <(Level) > [40]>>> then\n        set [finish v] to [Yes]\n    end\n    if <<(x) > [241]> and <(Level) > [40]>> then\n        set [x v] to [241]\n    end\nend\n\n@Platform\n\nwhen I receive [start v]\nshow\nforever\n    go to x: (0) y: (0)\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\n@Danger\n\nwhen I receive [start v]\nshow\nforever\n    go to x: (0) y: (0)\n    switch costume to (Level)\n    go to [back v] layer\n    go [forward v] (1) layers\nend\n\nwhen flag clicked\nhide\n\n@Clouds\n\nwhen I receive [start v]\nhide\nforever\n    go to [back v] layer\n    create clone of (_myself_ v)\n    wait (pick random (3) to (4)) seconds\nend\n\nwhen I start as a clone\ngo to [back v] layer\nshow\ngo to x: (250) y: (pick random (147) to (95))\nswitch costume to (pick random (1) to (2))\nif <(costume [number v]) = [2]> then\n    repeat until <(x position) < [-276]>\n        go to [back v] layer\n        change x by (-2)\n    end\nelse\n    repeat until <(x position) < [-265]>\n        go to [back v] layer\n        change x by (-2)\n    end\nend\ndelete this clone\n\n@Deco\n\nwhen I receive [start v]\nshow\nforever\n    go to x: (0) y: (0)\n    switch costume to ((Level) + (1))\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nset [whirl v] effect to (0)\nforever\n    repeat (10)\n        change [whirl v] effect by (0.1)\n    end\n    repeat (10)\n        change [whirl v] effect by (-0.1)\n    end\n    repeat (10)\n        change [whirl v] effect by (-0.1)\n    end\n    repeat (10)\n        change [whirl v] effect by (0.1)\n    end\nend\n\nwhen I start as a clone\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (transition v)\nshow\nset [ghost v] effect to (0)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [transition v]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\n@Saw\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Create A Clone At x: (x) y: (y) Speed: (speed) Distance: (distance) Type: (type)\nset [x v] to (x)\nset [y v] to (y)\nset [speed v] to (speed)\nset [distance v] to (distance)\nset [type v] to (type)\ngo to [back v] layer\ncreate clone of (_myself_ v)\n\nwhen I receive [setup v]\nhide\nswitch costume to (saw v)\nset [type v] to [1]\nif <(Level) = [10]> then\n    Create A Clone At x: [-60] y: [-110] Speed: [0] Distance: [0] Type: [1]\n    Create A Clone At x: [60] y: [-110] Speed: [0] Distance: [0] Type: [1]\nend\nif <(Level) = [11]> then\n    Create A Clone At x: [0] y: [50] Speed: [0] Distance: [0] Type: [1]\n    Create A Clone At x: [155] y: [-110] Speed: [5] Distance: [50] Type: [1]\nend\nif <(Level) = [12]> then\n    Create A Clone At x: [-150] y: [-110] Speed: [0] Distance: [0] Type: [1]\nend\nif <(Level) = [14]> then\n    Create A Clone At x: [40] y: [-110] Speed: [3] Distance: [110] Type: [1]\n    Create A Clone At x: [-98] y: [-14] Speed: [3] Distance: [-110] Type: [1]\nend\nif <(Level) = [15]> then\n    Create A Clone At x: [-4] y: [-110] Speed: [5] Distance: [110] Type: [1]\n    Create A Clone At x: [-4] y: [-110] Speed: [5] Distance: [-110] Type: [1]\nend\nif <(Level) = [17]> then\n    Create A Clone At x: [-4] y: [15] Speed: [5] Distance: [110] Type: [1]\n    Create A Clone At x: [-4] y: [15] Speed: [5] Distance: [-110] Type: [1]\n    Create A Clone At x: [140] y: [-110] Speed: [0] Distance: [0] Type: [1]\nend\nif <(Level) = [18]> then\n    Create A Clone At x: [-146] y: [-110] Speed: [0] Distance: [0] Type: [1]\nend\nif <(Level) = [20]> then\n    Create A Clone At x: [-113] y: [-51] Speed: [3] Distance: [30] Type: [2]\n    Create A Clone At x: [130] y: [-51] Speed: [3] Distance: [-30] Type: [2]\nend\nif <(Level) = [21]> then\n    Create A Clone At x: [8] y: [-48] Speed: [4] Distance: [100] Type: [1]\n    Create A Clone At x: [8] y: [-48] Speed: [4] Distance: [-100] Type: [1]\nend\nif <(Level) = [22]> then\n    Create A Clone At x: [-86] y: [-110] Speed: [0] Distance: [0] Type: [0]\n    Create A Clone At x: [100] y: [-110] Speed: [0] Distance: [0] Type: [0]\nend\nif <(Level) = [24]> then\n    Create A Clone At x: [0] y: [-110] Speed: [5] Distance: [30] Type: [1]\n    Create A Clone At x: [171] y: [-110] Speed: [6] Distance: [30] Type: [1]\nend\nif <(Level) = [25]> then\n    Create A Clone At x: [-75] y: [-110] Speed: [5] Distance: [40] Type: [1]\n    Create A Clone At x: [115] y: [-110] Speed: [5] Distance: [-40] Type: [1]\nend\nif <(Level) = [26]> then\n    Create A Clone At x: [-57] y: [51] Speed: [6] Distance: [50] Type: [1]\n    Create A Clone At x: [-57] y: [51] Speed: [6] Distance: [-50] Type: [1]\nend\nif <(Level) = [27]> then\n    Create A Clone At x: [0] y: [-110] Speed: [6] Distance: [120] Type: [1]\n    Create A Clone At x: [0] y: [-110] Speed: [6] Distance: [-120] Type: [1]\nend\nif <(Level) = [28]> then\n    Create A Clone At x: [-166] y: [-110] Speed: [0] Distance: [0] Type: [1]\nend\nif <(Level) = [32]> then\n    Create A Clone At x: [162] y: [-110] Speed: [0] Distance: [0] Type: [0]\nend\nif <(Level) = [33]> then\n    Create A Clone At x: [-23] y: [20] Speed: [0] Distance: [0] Type: [0]\nend\nif <(Level) = [34]> then\n    Create A Clone At x: [150] y: [-18] Speed: [3] Distance: [30] Type: [1]\nend\nif <(Level) = [35]> then\n    Create A Clone At x: [-38] y: [-110] Speed: [4] Distance: [70] Type: [1]\n    Create A Clone At x: [-38] y: [-110] Speed: [4] Distance: [-70] Type: [1]\nend\nif <(Level) = [36]> then\n    Create A Clone At x: [-102] y: [-78] Speed: [0] Distance: [0] Type: [0]\n    Create A Clone At x: [-32] y: [-45] Speed: [0] Distance: [0] Type: [0]\n    Create A Clone At x: [37] y: [-13] Speed: [0] Distance: [0] Type: [0]\n    Create A Clone At x: [106] y: [20] Speed: [0] Distance: [0] Type: [0]\nend\nif <(Level) = [40]> then\n    Create A Clone At x: [-20] y: [83] Speed: [0] Distance: [0] Type: [0]\n    Create A Clone At x: [120] y: [-110] Speed: [10] Distance: [60] Type: [1]\n    Create A Clone At x: [120] y: [-110] Speed: [10] Distance: [-60] Type: [1]\nend\n\nwhen I start as a clone\nshow\nforever\n    go to [back v] layer\n    go [forward v] (1) layers\n    turn right (8) degrees\n    if <(type) = [1]> then\n        go to x: ((x) + (([cos v] of ((Time) * (speed)) ) * (distance))) y: (y)\n    else\n        go to x: (x) y: ((y) + (([cos v] of ((Time) * (speed)) ) * (distance)))\n    end\nend\n\nwhen I receive [menu v]\nhide\nstop [other scripts in sprite v]\ndelete this clone\n\n@Enemy\n\nwhen I start as a clone\nset [die v] to [No]\nset [x v] to [0]\nset [y v] to [0]\ngo to [back v] layer\ngo [backward v] (3) layers\nset size to (50) %\nshow\nforever\n    if <(die) = [No]> then\n        change [y v] by (-1)\n        if <([x position v] of [player v]) < ((x position) - (10))> then\n            change [x v] by ((speed) * (-1))\n            point in direction (-90)\n        end\n        if <((x position) - (-10)) < ([x position v] of [player v])> then\n            change [x v] by (speed)\n            point in direction (90)\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\n        if <<touching (platform v)?> or <touching (crates v)?>> then\n            change y by (1)\n            if <<touching (platform v)?> or <touching (crates v)?>> then\n                change y by (1)\n                if <<touching (platform v)?> or <touching (crates v)?>> then\n                    change y by (1)\n                    if <<touching (platform v)?> or <touching (crates v)?>> then\n                        change y by (1)\n                        if <<touching (platform v)?> or <touching (crates v)?>> then\n                            change y by (-3)\n                            change x by ((x) * (-1))\n                            if <<<(y position) < ([y position v] of [player v])> or <(y position) < ([x position v] of [player v])>> and <not <(speed) < [0.4]>>> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [12]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (y)\n        if <<touching (platform v)?> or <touching (crates v)?>> then\n            change y by ((y) - ((y) * (2)))\n            set [y v] to [0]\n        end\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nhide\n\ndefine Create A Clone at x: (x) y: (y) speed: (speed) enemy# (#)\ngo to x: (x) y: (y)\nset [speed v] to (speed)\nset [enemy# v] to (#)\ncreate clone of (_myself_ v)\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [setup v]\nif <(Level) = [30]> then\n    Create A Clone at x: [215] y: [-103] speed: [0.5] enemy# [1]\nend\nif <(Level) = [31]> then\n    Create A Clone at x: [106] y: [-103] speed: [0.5] enemy# [2]\n    Create A Clone at x: [-33] y: [-103] speed: [0.6] enemy# [3]\nend\nif <(Level) = [32]> then\n    Create A Clone at x: [113] y: [62] speed: [0.5] enemy# [4]\n    Create A Clone at x: [113] y: [62] speed: [0.6] enemy# [5]\nend\nif <(Level) = [33]> then\n    Create A Clone at x: [224] y: [-103] speed: [0.5] enemy# [6]\n    Create A Clone at x: [224] y: [-103] speed: [0.2] enemy# [7]\nend\nif <(Level) = [34]> then\n    Create A Clone at x: [-80] y: [67] speed: [0.5] enemy# [8]\n    Create A Clone at x: [231] y: [-103] speed: [0.4] enemy# [9]\n    Create A Clone at x: [231] y: [-103] speed: [0.1] enemy# [10]\nend\nif <(Level) = [35]> then\n    Create A Clone at x: [225] y: [-103] speed: [0.5] enemy# [11]\n    Create A Clone at x: [225] y: [-103] speed: [0.4] enemy# [12]\nend\nif <(Level) = [37]> then\n    Create A Clone at x: [-64] y: [-103] speed: [0] enemy# [13]\n    Create A Clone at x: [64] y: [-103] speed: [0] enemy# [14]\nend\nif <(Level) = [38]> then\n    Create A Clone at x: [-52] y: [-70] speed: [0.6] enemy# [15]\n    Create A Clone at x: [-52] y: [-4] speed: [0.4] enemy# [16]\n    Create A Clone at x: [-52] y: [62] speed: [0.5] enemy# [17]\nend\nif <(Level) = [40]> then\n    Create A Clone at x: [-39] y: [28] speed: [0.6] enemy# [18]\n    Create A Clone at x: [-4] y: [28] speed: [0.7] enemy# [19]\nend\n\nwhen I start as a clone\nforever\n    if <<touching (danger v)?> or <touching (saw v)?>> then\n        wait (0.05) seconds\n        add (enemy#) to [killed_enemies v]\n        delete this clone\n    end\n    if <<touching (player v)?> and <(Finish) = []>> then\n        if <<([y position v] of [player v]) > (y position)> and <([sy v] of [player v]) < [-1]>> then\n            set [die v] to [Yes]\n            stop [other scripts in sprite v]\n            broadcast (Bounce v)\n            start sound [Die v]\n            repeat (5)\n                change [ghost v] effect by (20)\n            end\n            change [score v] by (200)\n            add (enemy#) to [killed_enemies v]\n            delete this clone\n        else\n            if <not <(Finish) = [Yes]>> then\n                set [finish v] to [No]\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <[killed_enemies v] contains (enemy#)?> then\n    delete this clone\nend\n\n@Crates\n\nwhen I receive [start v]\nshow\nforever\n    go to x: (0) y: (0)\n    switch costume to (Level)\n    go to [back v] layer\n    go [forward v] (1) layers\nend\n\nwhen flag clicked\nhide\n\n@Coins\n\ndefine Create a clone at x: (x) y: (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [start v]\nhide\n\nwhen I start as a clone\nshow\nforever\n    go to [back v] layer\n    go [forward v] (1) layers\n    if <touching (player v)?> then\n        start sound [coin v]\n        change [score v] by (100)\n        delete this clone\n    end\nend\n\nwhen I receive [create v]\nif <(Level) = [1]> then\n    Create a clone at x: [-119] y: [-28]\n    Create a clone at x: [-84] y: [-28]\n    Create a clone at x: [-50] y: [-28]\n    Create a clone at x: [66] y: [-28]\n    Create a clone at x: [100] y: [-28]\n    Create a clone at x: [134] y: [-28]\nend\nif <(Level) = [2]> then\n    Create a clone at x: [-10] y: [112]\n    Create a clone at x: [-10] y: [56]\nend\nif <(Level) = [3]> then\n    Create a clone at x: [-98] y: [-28]\n    Create a clone at x: [-58] y: [-28]\n    Create a clone at x: [112] y: [-28]\n    Create a clone at x: [152] y: [-28]\nend\nif <(Level) = [4]> then\n    Create a clone at x: [-8] y: [-80]\n    Create a clone at x: [-8] y: [-28]\nend\nif <(Level) = [5]> then\n    Create a clone at x: [26] y: [25]\n    Create a clone at x: [188] y: [115]\n    Create a clone at x: [224] y: [115]\nend\nif <(Level) = [6]> then\n    Create a clone at x: [68] y: [131]\n    Create a clone at x: [146] y: [131]\nend\nif <(Level) = [7]> then\n    Create a clone at x: [-176] y: [20]\n    Create a clone at x: [-134] y: [20]\n    Create a clone at x: [-94] y: [20]\nend\nif <(Level) = [8]> then\n    Create a clone at x: [-40] y: [-10]\n    Create a clone at x: [30] y: [30]\n    Create a clone at x: [100] y: [68]\n    Create a clone at x: [168] y: [102]\nend\nif <(Level) = [9]> then\n    Create a clone at x: [-30] y: [-16]\n    Create a clone at x: [-30] y: [-50]\n    Create a clone at x: [16] y: [-16]\n    Create a clone at x: [16] y: [-50]\nend\nif <(Level) = [10]> then\n    Create a clone at x: [-3] y: [-75]\n    Create a clone at x: [-3] y: [-30]\nend\nif <(Level) = [11]> then\n    Create a clone at x: [-130] y: [-3]\n    Create a clone at x: [-130] y: [-34]\n    Create a clone at x: [128] y: [-3]\n    Create a clone at x: [128] y: [-34]\nend\nif <(Level) = [12]> then\n    Create a clone at x: [12] y: [-16]\n    Create a clone at x: [12] y: [28]\nend\nif <(Level) = [13]> then\n    Create a clone at x: [28] y: [-14]\n    Create a clone at x: [28] y: [28]\nend\nif <(Level) = [14]> then\n    Create a clone at x: [174] y: [9]\n    Create a clone at x: [174] y: [-43]\nend\nif <(Level) = [15]> then\n    Create a clone at x: [-5] y: [-21]\n    Create a clone at x: [-5] y: [-61]\nend\nif <(Level) = [16]> then\n    Create a clone at x: [-104] y: [33]\n    Create a clone at x: [0] y: [70]\n    Create a clone at x: [114] y: [95]\nend\nif <(Level) = [17]> then\n    Create a clone at x: [-22] y: [-26]\n    Create a clone at x: [10] y: [-26]\nend\nif <(Level) = [18]> then\n    Create a clone at x: [-28] y: [60]\n    Create a clone at x: [131] y: [34]\nend\nif <(Level) = [19]> then\n    Create a clone at x: [0] y: [-36]\n    Create a clone at x: [-41] y: [-36]\n    Create a clone at x: [41] y: [-36]\nend\nif <(Level) = [20]> then\n    Create a clone at x: [-80] y: [70]\n    Create a clone at x: [98] y: [70]\nend\nif <(Level) = [21]> then\n    Create a clone at x: [7] y: [23]\n    Create a clone at x: [7] y: [-8]\nend\nif <(Level) = [22]> then\n    Create a clone at x: [55] y: [-93]\n    Create a clone at x: [-41] y: [-93]\n    Create a clone at x: [55] y: [-58]\n    Create a clone at x: [-41] y: [-58]\nend\nif <(Level) = [23]> then\n    Create a clone at x: [25] y: [-36]\n    Create a clone at x: [25] y: [6]\nend\nif <(Level) = [24]> then\n    Create a clone at x: [2] y: [-38]\n    Create a clone at x: [-34] y: [-38]\n    Create a clone at x: [38] y: [-38]\nend\nif <(Level) = [25]> then\n    Create a clone at x: [-14] y: [-64]\n    Create a clone at x: [-14] y: [-31]\n    Create a clone at x: [50] y: [-64]\n    Create a clone at x: [50] y: [-31]\nend\nif <(Level) = [26]> then\n    Create a clone at x: [72] y: [-6]\n    Create a clone at x: [72] y: [-42]\nend\nif <(Level) = [27]> then\n    Create a clone at x: [-16] y: [-46]\n    Create a clone at x: [8] y: [-46]\nend\nif <(Level) = [28]> then\n    Create a clone at x: [-21] y: [-12]\n    Create a clone at x: [-21] y: [-41]\n    Create a clone at x: [47] y: [-12]\n    Create a clone at x: [47] y: [-41]\nend\nif <(Level) = [29]> then\n    Create a clone at x: [-30] y: [-16]\n    Create a clone at x: [-30] y: [-50]\n    Create a clone at x: [16] y: [-16]\n    Create a clone at x: [16] y: [-50]\nend\nif <(Level) = [30]> then\n    Create a clone at x: [-119] y: [-28]\n    Create a clone at x: [-84] y: [-28]\n    Create a clone at x: [-50] y: [-28]\n    Create a clone at x: [66] y: [-28]\n    Create a clone at x: [100] y: [-28]\n    Create a clone at x: [134] y: [-28]\nend\nif <(Level) = [31]> then\n    Create a clone at x: [-144] y: [36]\n    Create a clone at x: [-4] y: [36]\n    Create a clone at x: [135] y: [36]\nend\nif <(Level) = [32]> then\n    Create a clone at x: [-64] y: [-15]\n    Create a clone at x: [-64] y: [-45]\n    Create a clone at x: [-64] y: [-75]\nend\nif <(Level) = [33]> then\n    Create a clone at x: [-74] y: [-5]\n    Create a clone at x: [28] y: [-5]\nend\nif <(Level) = [34]> then\n    Create a clone at x: [-40] y: [-72]\n    Create a clone at x: [-40] y: [-33]\nend\nif <(Level) = [35]> then\n    Create a clone at x: [-60] y: [-38]\n    Create a clone at x: [-26] y: [-38]\nend\nif <(Level) = [36]> then\n    Create a clone at x: [154] y: [-30]\n    Create a clone at x: [154] y: [-68]\nend\nif <(Level) = [38]> then\n    Create a clone at x: [154] y: [-68]\n    Create a clone at x: [183] y: [-68]\n    Create a clone at x: [154] y: [-33]\n    Create a clone at x: [183] y: [-33]\nend\nif <(Level) = [39]> then\n    Create a clone at x: [-7] y: [70]\n    Create a clone at x: [26] y: [70]\n    Create a clone at x: [-62] y: [11]\n    Create a clone at x: [78] y: [11]\nend\nif <(Level) = [40]> then\n    Create a clone at x: [30] y: [104]\n    Create a clone at x: [30] y: [148]\nend\n\nwhen I receive [delete v]\ndelete this clone\n\n@ShowScore\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    set size to (20) %\n    go to x: (((digits) * (9)) - (210)) y: (160)\n    if <(length of (join [s] (Score))) < (digits)> then\n        hide\n    else\n        show\n        switch costume to (letter (digits) of (join [s] (Score)))\n    end\nend\n\nwhen I receive [start v]\ndelete this clone\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\nhide\nforever\n    go to x: (-223) y: (155)\nend\n\ndefine delete this clone\ndelete this clone\n\n@ShowHighScore\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    go to [front v] layer\n    go [backward v] (2) layers\n    set size to (20) %\n    go to x: (((digits) * (9)) - (210)) y: (140)\n    if <(length of (join [h] (☁ Highscore))) < (digits)> then\n        hide\n    else\n        show\n        switch costume to (letter (digits) of (join [h] (☁ Highscore)))\n    end\nend\n\nwhen I receive [highscore v]\ndelete this clone\nset [digits v] to [1]\nrepeat (30)\n    create clone of (_myself_ v)\n    change [digits v] by (1)\nend\nhide\nforever\n    go to x: (-223) y: (155)\nend\n\ndefine delete this clone\ndelete this clone\n\n@Thumbnail\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\ngo to x: (0) y: (0)\nswitch costume to (thumbnail v)\ngo to [front v] layer\nshow\n\n