The Cave Of The Red Ruby || A Non Generic Platformer #Games

Instructions: WOAHWOAHWOAH how did this get #4 ?!? THANK YOU!! PLEASE, CAN I DO THE TREND TRICK? EVERYBODY ABOVE ME IS DOING IT >:(\nNo advertising my god do I have to say it.\nThis got hacked somehow with the entire project messed up, remixes helped me remake it, thank you\nLove+Fav, PLEASE!! It really shows your support :)\nLets get this popular! Then everyone will be excited for part 2  SNEAK PEAK: The Teal Diamond -Part 2\nI replied to every comment when this blew up, I might not be able to anymore. But I will definitely try to see them!\nI was inspired to make this even further because my mom said she thinks it's like Mario and she likes it. xD \n___________________________________________\nInstructions:\nArrow keys or WASD to move :)\nMobile friendly :D\nSpace to attack; Or the mobile option at bottom right once you have the red ruby.\nGet to the portal to get to the next level!\nHAVE FUN! \nGet excited for parts 2-5! More gems...? Stay tuned by following me ;)\n100 views on the share date!! And 42 loves and 37 favs >:) \nCurrently 30K views, whoa. I’m so happy everybody is complimenting the game!! 2000 loves, 1900 favs.

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop3 v)\nwait until <(LEVEL) = [9]>\nswitch backdrop to (backdrop1 v)\nwait until <(LEVEL) = [22]>\nswitch backdrop to (backdrop3 v)\n\nchange [brightness v] effect by (pick random (1) to (10))\nset [ghost v] effect to (pick random (1) to (89))\n\nrepeat (2)\n    change [mosaic v] effect by (2)\nend\n\nset [mosaic v] effect to (0)\n\nset [brightness v] effect to (0)\n\nchange [color v] effect by (2)\nwait (.04) seconds\n\nforever\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <(Mute) = [true]> then\n        set volume to (-100) %\n    else\n        set volume to (100) %\n    end\nend\n\nwhen I receive [intro go away :d v]\nforever\n    play sound [myk v] until done\nend\n\n@Blank\n\n@Text\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\nswitch costume to (LEVEL)\n\nwhen flag clicked\nhide\nforever\n    set [brightness v] effect to (-5)\n    go to [back v] layer\n    go [forward v] (2) layers\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nforever\n\nplay sound [Alan Walker - Faded v] until done\n\nwhen I receive [play v]\nshow\n\n@Lava-Danger\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nclear graphic effects\ngo to x: (0) y: (0)\nset [me v] to [1]\nrepeat (3)\n    create clone of (_myself_ v)\n    change y by (-0)\n    change [me v] by (1)\nend\n\nwait (.09) seconds\n\nwait (.09) seconds\n\nwhen flag clicked\ngo [forward v] (1) layers\nforever\n    go to x: (0) y: (0)\n    switch costume to (LEVEL)\nend\n\nwhen I start as a clone\nshow\nset [floatlava v] to [0]\nforever\n    show\n    set [ghost v] effect to (0)\n    switch costume to (LEVEL)\n    change y by ([cos v] of (floatlava) )\n    change [floatlava v] by (5.4)\nend\n\n@Bounce\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\nswitch costume to (LEVEL)\n\nwhen flag clicked\nTramp [0] [-70] [100] [4]\nTramp [20] [-140] [100] [5]\nTramp [170] [-140] [100] [5]\nTramp [-120] [-140] [100] [5]\nTramp [-115] [-140] [90] [11]\nTramp [-136] [-90] [100] [20]\nTramp [-29] [70] [100] [20]\nTramp [146] [-120] [60] [20]\nTramp [215] [-84] [60] [22]\nTramp [-105] [-78] [60] [22]\n\nwait (.01) seconds\n\ndefine Tramp (x) (y) (size) (lvl)\nset [level\(till hide tramp\) v] to (lvl)\nset size to (size) %\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nhide\nwait until <(LEVEL) = (Level\(till hide tramp\))>\nshow\nwait until <not <(LEVEL) = (Level\(till hide tramp\))>>\nhide\n\nwhen I start as a clone\nforever\n    switch costume to (costume1 v)\n    if <touching (player v)?> then\n        repeat (10)\n            next costume\n        end\n    end\nend\n\nwait (.2) seconds\n\nshow\n\n@Moving platforms\n\ndefine Mv (x) (y) (xvs) (yvs) (xvc) (yvc) (xrad) (yrad) (turn) (lv) (costu)\nswitch costume to (costu)\npoint in direction (90)\ngo to x: (x) y: (y)\nset [xv v] to (xvs)\nset [yv v] to (yvs)\nrepeat until <not <(LEVEL) = (lv)>>\n    if <(xrad) = [0]> then\n        set x to (x)\n    else\n        set x to (([cos v] of (xv) ) * (xrad))\n    end\n    if <(yrad) = [0]> then\n        set y to (y)\n    else\n        set y to ((([cos v] of (yv) ) * (yrad)) + (y))\n    end\n    turn right (turn) degrees\n    change [xv v] by (xvc)\n    change [yv v] by (yvc)\nend\n\nwhen flag clicked\nhide\nwait until <(LEVEL) = [9]>\nshow\nMv [140] [0] [0] [0] [-10] [0] [-10] [0] [0] [9] [1]\nhide\n\nwhen I start as a clone\nshow\nif <(clone) = [1]> then\n    show\n    Mv [-22] [-142] [0] [90] [0] [5] [0] [60] [0] [2] [1]\n    delete this clone\nend\nif <(clone) = [2]> then\n    Mv [25] [0] [0] [90] [0] [5] [0] [60] [0] [9] [2]\n    delete this clone\nend\nif <(clone) = [3]> then\n    Mv [175] [0] [0] [0] [0] [5] [0] [60] [0] [9] [2]\n    delete this clone\nend\nif <(clone) = [4]> then\n    Mv [0] [0] [0] [90] [0] [4] [0] [130] [5] [10] [1]\n    delete this clone\nend\nif <(clone) = [5]> then\n    Mv [0] [0] [0] [-90] [0] [4] [0] [130] [20] [10] [1]\n    delete this clone\nend\nif <(clone) = [6]> then\n    Mv [-100] [0] [90] [0] [12] [0] [44] [0] [0] [12] [3]\n    delete this clone\nend\nif <(clone) = [7]> then\n    Mv [100] [0] [-90] [0] [12] [0] [44] [0] [0] [12] [4]\n    delete this clone\nend\n\nrepeat (3)\n    change [clone v] by (1)\n    create clone of (_myself_ v)\nend\nwait until <(LEVEL) = [10]>\nrepeat (2)\n    change [clone v] by (1)\n    create clone of (_myself_ v)\nend\nwait until <(LEVEL) = [11]>\nshow\nMv [0] [-50] [90] [0] [12] [12] [80] [80] [15] [11] [1]\nhide\nrepeat (2)\n    change [clone v] by (1)\n    create clone of (_myself_ v)\nend\nwait until <(LEVEL) = [19]>\nshow\nMv [0] [0] [0] [0] [0] [12] [0] [90] [15] [19] [1]\nhide\n\nMv [-6] [-142] [0] [-90] [8] [9] [0] [0] [0] [2] [1]\n\nwhen [a v] key pressed\n\nif <(username) = [imklleroffire]> then\n    ask [Number/level:] and wait\n    set [level v] to (answer)\n    broadcast (Next level v)\nend\n\nset [level v] to [9]\n\nhide\nset [clone v] to [0]\nwait until <(LEVEL) = [6]>\nshow\nMv [10] [-40] [0] [14] [12] [2] [0] [2] [15] [6] [2]\nhide\nset [clone v] to [0]\nwait until <(LEVEL) = [7]>\nshow\nMv [70] [-40] [0] [14] [12] [60] [0] [90] [15] [7] [3]\nhide\nset [clone v] to [0]\n\nwhen flag clicked\nset [level v] to [1]\n\nwait until <(LEVEL) = [14]>\nshow\nMv [-40] [-10] [0] [0] [12.4] [0] [-10] [0] [0] [14] [2]\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (10) to (20)) seconds\nend\n\nwhen I start as a clone\nif <<(LEVEL) < [21]> and <[9] < (LEVEL)>> then\n    hide\nelse\n    show\nend\ngo to [back v] layer\nshow\ngo to x: (-210) y: (pick random (90) to (120))\nrepeat until <(x position) > [175]>\n    change x by (pick random (4) to (4))\n    wait (pick random (.03) to (.09)) seconds\n    if <<(LEVEL) < [21]> and <[9] < (LEVEL)>> then\n        hide\n    else\n        show\n    end\nend\nrepeat (20)\n    change x by (pick random (4) to (4))\n    change [ghost v] effect by (5)\n    wait (.05) seconds\n    if <<(LEVEL) < [21]> and <[9] < (LEVEL)>> then\n        hide\n    else\n        show\n    end\nend\ndelete this clone\n\ngo [backward v] (1) layers\n\nwhen I start as a clone\nforever\n    go to [back v] layer\nend\n\n@grass\n\ndefine Grass from (xpos1) to (xpos2) (y)\nshow\ngo to x: (xpos1) y: (y)\npoint in direction (90)\nrepeat until <(x position) = (xpos2)>\n    change x by (1)\n    set size to (pick random (80) to (120)) %\n    if <not <(pick random (1) to (2)) = [1]>> then\n        create clone of (_myself_ v)\n    end\nend\nhide\n\nwhen I start as a clone\nPosition Grass [3]\nforever\n    if <touching (player v)?> then\n        Sway\n        wait until <not <touching (sprite1 v)?>>\n    end\nend\n\ndefine Position Grass (x pos amount)\nswitch costume to (base hitbox v)\nif <touching (platforms v)?> then\n    repeat until <<not <touching (platforms v)?>> or <touching (_edge_ v)?>>\n        change y by (1)\n    end\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nelse\n    repeat until <touching (platforms v)?>\n        change y by (-2)\n        if <touching (_edge_ v)?> then\n            delete this clone\n        end\n    end\nend\nchange y by (-5)\nchange x by ((0) - (x pos amount))\nif <not <touching (platforms v)?>> then\n    delete this clone\nend\nchange x by ((2) * (x pos amount))\nif <not <touching (platforms v)?>> then\n    delete this clone\nend\nchange x by ((0) - (x pos amount))\nswitch costume to (pick random (1) to (5))\nchange y by (10)\nif <touching (moving danger v)?> then\n    delete this clone\nend\nchange y by (-10)\n\ndefine Sway\nset [velocity v] to ((([x v] of [player v]) + (pick random (-2.0) to (2.0))) * (6))\nset [sine v] to [0]\nrepeat until <<[0] = (round ((Velocity) * (2)))> or <<touching (player v)?> and <([abs v] of (Velocity) ) < ([abs v] of ((speed x2) * (2)) )>>>\n    point in direction ((90) - (([sin v] of (Sine) ) * (Velocity)))\n    change [sine v] by (-10)\n    set [velocity v] to ((0.95) * (Velocity))\nend\n\nwhen flag clicked\n\nwhen I receive [--explosion-- v]\n\nwhen [space v] key pressed\nbroadcast (--Explosion-- v)\n\nwhen I receive [next level v]\ngo [forward v] (3) layers\ndelete this clone\n\ngo to [front v] layer\n\nwhen I receive [next level v]\nwait (.04) seconds\nif <(LEVEL) = [2]> then\n    Grass from [-240] to [0] [-50]\n    Grass from [90] to [240] [-50]\nend\nif <(LEVEL) = [2]> then\n    Grass from [-240] to [0] [-50]\n    Grass from [90] to [240] [-50]\nend\nif <(LEVEL) = [3]> then\n    Grass from [-240] to [0] [-50]\nend\nif <(LEVEL) = [4]> then\n    Grass from [-240] to [-20] [-50]\n    Grass from [20] to [240] [-50]\nend\nif <(LEVEL) = [5]> then\n    Grass from [-240] to [240] [-50]\nend\nif <(LEVEL) = [6]> then\n    Grass from [-240] to [240] [-60]\nend\nif <(LEVEL) = [7]> then\n    Grass from [-240] to [-100] [-100]\nend\nif <(LEVEL) = [8]> then\n    Grass from [-240] to [-120] [-100]\nend\n\nwhen I receive [retry v]\nbroadcast (Respawn v)\n\ndefine Respawn\nGrass from [-240] to [240] [150]\nif <(LEVEL) = [4]> then\n    Grass from [100] to [240] [0]\nend\n\nwhen I receive [layer v]\ngo to [back v] layer\n\nGrass from [90] to [240] [-50]\n\nGrass from [-60] to [-10] [-50]\nGrass from [60] to [100] [-50]\nGrass from [260] to [260] [-50]\n\ngo to [front v] layer\n\nwhen I receive [play v]\nwait (0.05) seconds\nGrass from [-240] to [240] [150]\n\n@Sprite2\n\n@Guards\n\nset drag mode [not draggable v]\nset rotation style [left-right v]\nset [level v] to [1]\nshow\nset [ghost v] effect to (0)\npoint in direction (90)\nswitch costume to (player v)\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\ngo to x: (0) y: (120)\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        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n        change y by (1)\n        if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n            change y by (1)\n            if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                change y by (1)\n                if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                    change y by (1)\n                    if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                        change y by (1)\n                        if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                            change y by (1)\n                            if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                                change y by (-6)\n                                if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                    set [y v] to [10]\n                                    change x by ((x) * (-1))\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\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 (platforms v)?> or <touching (moving platforms v)?>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<<touching (platforms v)?> or <<touching (bounce v)?> or <touching (moving platforms v)?>>> and <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\nend\n\ndefine Guard at (x) (y) (size) (level) (op)\nset [op-ness v] to (op)\nset [clonetype v] to [0]\ngo to x: (x) y: (y)\nset size to (size) %\nset [level\(youk\) v] to (level)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clonetype) = [0]> then\n    set rotation style [left-right v]\n    switch costume to (costume1 v)\n    hide\n    wait until <(LEVEL) = (Level\(YouK\))>\n    show\n    wait (.04) seconds\n    repeat until <not <(LEVEL) = (Level\(YouK\))>>\n        wait ((30) / (OP-Ness)) seconds\n        set [clonetype v] to [1]\n        create clone of (_myself_ v)\n    end\n    delete this clone\nend\n\ndefine Attack because Guards are bullies\n\nset [level v] to [0]\n\nAttack because Guards are bullies\n\nwhen I start as a clone\nif <(Clonetype) = [1]> then\n    switch costume to (costume2 v)\n    show\n    point towards (player v)\n    repeat (300)\n        move (((OP-Ness) - (40)) / (3)) steps\n        if <<<touching (platforms v)?> or <touching (moving platforms v)?>> or <touching (_edge_ v)?>> then\n            set [ghost v] effect to (0)\n            repeat (2)\n                change [ghost v] effect by (50)\n                wait (.09) seconds\n            end\n            hide\n            delete this clone\n        end\n        if <touching (player v)?> then\n            wait (.04) seconds\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwait (2) seconds\n\nhide\n\nwhen flag clicked\nGuard at [159] [-103] [100] [12] [50]\nGuard at [-80] [-90] [100] [13] [50]\nGuard at [200] [-90] [100] [13] [50]\nGuard at [128] [63] [100] [13] [50]\nGuard at [-139] [-80] [100] [15] [50]\nGuard at [-27] [29] [100] [15] [50]\nGuard at [194] [-93] [100] [15] [100]\nGuard at [-139] [100] [100] [16] [60]\nGuard at [200] [-78] [100] [16] [50]\nGuard at [64] [124] [100] [17] [50]\nGuard at [100] [35] [100] [18] [100]\nGuard at [130] [35] [100] [18] [50]\nGuard at [160] [35] [100] [18] [50]\nGuard at [100] [-25] [100] [18] [50]\nGuard at [130] [-25] [100] [18] [100]\nGuard at [160] [-25] [100] [18] [100]\nGuard at [100] [-85] [100] [18] [100]\nGuard at [130] [-85] [100] [18] [100]\nGuard at [160] [-85] [100] [18] [100]\n\nhide\n\nGuard at [202] [-89] [100] [15] [50]\nGuard at [180] [144] [100] [15] [50]\n\nwhen I receive [next level v]\nif <(Clonetype) = [1]> then\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clonetype) = [0]> then\n    forever\n        set [ghost v] effect to (0)\n        point towards (player v)\n        if <touching (collect v)?> then\n            set [clonetype v] to [2]\n            create clone of (_myself_ v)\n            delete this clone\n        end\n    end\nend\n\nwhen [i v] key pressed\nif <(username) = [imklleroffire]> then\n    set [red ruby? v] to [true]\nend\n\nrepeat (50)\n\nwhen I start as a clone\nif <(Clonetype) = [2]> then\n    set [ghost v] effect to (0)\n    switch costume to (costume3 v)\n    repeat (50)\n        change [ghost v] effect by (2)\n        change y by (3)\n    end\n    delete this clone\nend\n\n@Sprite3\n\nwhen flag clicked\n\nforever\n\nwhen I start as a clone\nset [color v] effect to (0)\nset [brightness v] effect to (0)\nset [float1 v] to [0]\nswitch costume to (costume1 v)\nif <(Clone) = [1]> then\n    switch costume to (costume2 v)\n    wait (1) seconds\nend\nforever\n    replace item (1) of [skip v] with (x position)\n    replace item (2) of [skip v] with (y position)\n    repeat (9)\n        turn right ((Clone) + (10)) degrees\n        wait (.04) seconds\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    wait (.04) seconds\n    wait until <(LEVEL) = [1]>\n    go to x: (180) y: (-50)\n    wait until <(LEVEL) = [2]>\n    go to x: (174) y: (-27)\n    wait until <(LEVEL) = [3]>\n    go to x: (182) y: (34)\n    wait until <(LEVEL) = [4]>\n    go to x: (196) y: (96)\n    wait until <(LEVEL) = [5]>\n    go to x: (180) y: (-50)\n    wait until <(LEVEL) = [6]>\n    go to x: (217) y: (38)\n    wait until <(LEVEL) = [7]>\n    go to x: (206) y: (-18)\n    wait until <(LEVEL) = [8]>\n    go to x: (197) y: (-26)\n    wait until <(LEVEL) = [9]>\n    go to x: (203) y: (59)\n    wait until <(LEVEL) = [10]>\n    go to x: (203) y: (0)\n    wait until <(LEVEL) = [11]>\n    go to x: (203) y: (50)\n    wait until <(LEVEL) = [12]>\n    go to x: (203) y: (0)\n    wait until <(LEVEL) = [13]>\n    go to x: (203) y: (0)\n    wait until <(LEVEL) = [14]>\n    go to x: (203) y: (0)\n    wait until <(LEVEL) = [15]>\n    go to x: (203) y: (0)\n    wait until <(LEVEL) = [16]>\n    go to x: (192) y: (71)\n    wait until <(LEVEL) = [18]>\n    go to x: (215) y: (-72)\n    wait until <(LEVEL) = [19]>\n    go to x: (200) y: (-35)\n    wait until <(LEVEL) = [20]>\n    go to x: (165) y: (90)\n    wait until <(LEVEL) = [22]>\n    delete this clone\nend\n\nwait (1) seconds\n\nwhen [b v] key pressed\nset [mouse v] to (join (mouse x) (join [,] (mouse y)))\n\nwhen I start as a clone\nforever\n    change [color v] effect by ([cos v] of (Float1) )\n    change [brightness v] effect by ([cos v] of (Float1) )\n    change y by ([cos v] of (Float1) )\n    change [float1 v] by (4)\nend\n\nwait (.17) seconds\n\ngo to x: (165) y: (90)\n\nwhen I receive [play v]\nset [clone v] to [0]\ncreate clone of (_myself_ v)\nset [clone v] to [1]\ncreate clone of (_myself_ v)\n\n@Mv hitbox\n\nwhen flag clicked\n\nforever\n    set size to (110) %\n    go to (moving platforms v)\n    set [ghost v] effect to (100)\nend\n\ngo to x: (-3) y: (-10)\n\nhide\n\n@Collect\n\nwhen flag clicked\nset [red ruby? v] to [false]\nswitch costume to (red ruby v)\n\ndefine Collectable: (x) (y) (costume) (level)\nset [cloneid v] to [0]\ngo to x: (x) y: (y)\nswitch costume to (costume)\nset [levelyouk v] to (level)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CLoneID) = [0]> then\n    hide\n    wait (1) seconds\n    wait until <(levelyouk) = (LEVEL)>\n    show\n    wait until <not <(levelyouk) = (LEVEL)>>\n    delete this clone\nend\n\nwhen flag clicked\nCollectable: [-80] [10] [Red Ruby] [18]\n\nwhen I start as a clone\nset [brightness v] effect to (0)\nset [c v] to [0]\nforever\n    if <(CLoneID) = [0]> then\n        point in direction (90)\n        change y by ([cos v] of (c) )\n        change [brightness v] effect by ([cos v] of (c) )\n        change [c v] by (4)\n    end\nend\n\nchange [mosaic v] effect by ([cos v] of (c) )\n\nshow\n\nwhen I start as a clone\nif <(CLoneID) = [0]> then\n    wait until <touching (player v)?>\n    set size to (100) %\n    wait (.2) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n        change size by (-8)\n    end\n    set [red ruby? v] to [true]\n    set [cloneid v] to [1]\n    Collect\n    delete this clone\nend\n\ndelete this clone\n\ndefine Collect\nrepeat (30)\n    set [cloneid v] to [1]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(CLoneID) = [1]> then\n    show\n    set [ghost v] effect to (0)\n    switch costume to (red ruby v)\n    go to (player v)\n    set size to (20) %\n    change x by (pick random (-20) to (20))\n    set [brightness v] effect to (0)\n    point in direction (0)\n    repeat (25)\n        move (7) steps\n        change [brightness v] effect by (3)\n    end\n    delete this clone\nend\n\nwhen [space v] key pressed\nwait (.4) seconds\nif <(Red ruby?) = [true]> then\n    set [cloneid v] to [3]\n    create clone of (_myself_ v)\n    wait (.04) seconds\nend\n\nrepeat (3)\n\nwhen I start as a clone\nif <(CLoneID) = [3]> then\n    switch costume to (costume3 v)\n    show\n    set [brightness v] effect to (0)\n    set rotation style [left-right v]\n    point in direction ([direction v] of [player v])\n    go to (player v)\n    repeat (200)\n        move (12) steps\n        change [brightness v] effect by (3.3)\n    end\n    delete this clone\nend\n\nset [cloneid v] to [3]\ncreate clone of (_myself_ v)\n\nwait (.04) seconds\n\nwhen I start as a clone\nforever\n    if <touching (platforms v)?> then\n        if <not <(CLoneID) = [0]>> then\n            set size to (100) %\n            wait (.2) seconds\n            repeat (10)\n                change [ghost v] effect by (10)\n                change size by (-8)\n            end\n            delete this clone\n        end\n    end\nend\n\nif <touching (platforms v)?> then\n    delete this clone\nend\n\nturn right (0.2) degrees\n\nwhen I receive [mobile attack v]\nset [cloneid v] to [3]\ncreate clone of (_myself_ v)\n\n@BAckground\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (costume1 v)\n    go to [back v] layer\n    go [forward v] (1) layers\nend\n\nswitch costume to (LEVEL)\n\ngo to [front v] layer\n\nwhen flag clicked\nshow\nwait until <(LEVEL) = [9]>\nhide\nwait until <(LEVEL) = [22]>\nshow\n\n@Transition\n\nwhen I receive [next level v]\nstart sound [24 FREE Swoosh Transition Sound Effects!2 v]\nset [color v] effect to (0)\nset [brightness v] effect to (0)\nset [ghost v] effect to (0)\nshow\ngo to x: (0) y: (200)\nrepeat (10)\n    change y by (-20)\nend\nrepeat (10)\n    change [brightness v] effect by (1)\n    change [color v] effect by (3)\nend\nrepeat (10)\n    change [brightness v] effect by (-1)\n    change [color v] effect by (-3)\nend\nwait (.5) seconds\nrepeat (20)\n    change y by (10)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\n\nwait (1) seconds\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nchange [color v] effect by (3)\n\n@Decor\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (275) layers\nend\n\n@Spikes\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [play v]\nshow\n\n@Thumb\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to [front v] layer\nforever\n    go to [front v] layer\nend\n\n@Menu\n\nwhen I receive [play v]\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\nreplace item (1) of [menu v] with [0]\nreplace item (2) of [menu v] with [0]\n\ndefine Make stuff\nset [clone id v] to [0]\nrepeat (6)\n    change [clone id v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\nend\n\ndefine Button (x) (y) (type)\ngo to x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (type)\nset [type v] to (type)\ncreate clone of (_myself_ v)\n\ngo to [front v] layer\n\nwhen flag clicked\n\nwhen I start as a clone\nif <(type) = [1]> then\n    switch costume to (costume1 v)\n    show\nend\nif <(type) = [2]> then\n    switch costume to (costume2 v)\n    show\nend\nif <(type) = [3]> then\n    switch costume to (costume3 v)\n    show\nend\nif <(type) = [4]> then\n    switch costume to (costume4 v)\nend\nif <(type) = [5]> then\n    switch costume to (costume5 v)\n    show\nend\nif <(type) = [6]> then\n    switch costume to (costume6 v)\nend\nif <(type) = [7]> then\n    show\n    set [mute v] to [false]\n    switch costume to (costume7 v)\nend\n\nshow\n\nshow\n\nButton [] [] []\n\nwhen this sprite clicked\nif <not <<(type) = [4]> or <(type) = [6]>>> then\n    start sound [Finger Snap v]\n    set [brightness v] effect to (0)\n    set size to (100) %\n    if <(type) = [2]> then\n        broadcast (Play v)\n    end\n    if <(type) = [3]> then\n        broadcast (Instructions v)\n    end\n    if <(type) = [5]> then\n        broadcast (Credits v)\n    end\n    if <(type) = [7]> then\n        broadcast (Mute/Un v)\n    end\nelse\n    hide\nend\n\nMake stuff\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I start as a clone\nset [float v] to [0]\nforever\n    if <(type) = [2]> then\n        change [float v] by (4)\n        change y by ([cos v] of (float) )\n    end\n    if <(type) = [3]> then\n        change [float v] by (5)\n        change y by ([cos v] of (float) )\n    end\nend\n\nset x to (x)\nset y to (y)\nset [x v] to (x position)\nset [y v] to (y position)\n\nset y to ((y) + (10))\n\nwhen I receive [play v]\ndelete this clone\n\nchange [color v] effect by (3)\n\nchange [float v] by (0)\nchange y by ([cos v] of (float) )\n\nif <(type) = [5]> then\n\nbroadcast (Instructions v)\n\nwhen I receive [credits v]\nif <(type) = [6]> then\n    show\n    set size to (100) %\n    repeat (100)\n        change size by (10)\n    end\nend\n\nwhen I receive [instructions v]\nif <(type) = [4]> then\n    show\n    set size to (100) %\n    repeat (20)\n        change size by (10)\n    end\nend\n\nbroadcast (Play v)\n\nwhen I receive [mute/un v]\nif <(type) = [7]> then\n    if <(Mute) = [false]> then\n        switch costume to (costume8 v)\n        set [mute v] to [true]\n        broadcast (Music-Get out v)\n    else\n        set [mute v] to [false]\n        switch costume to (costume7 v)\n    end\nend\n\nbroadcast (Mute/Un v)\n\nwhen flag clicked\n\nforever\nend\n\nset volume to (100) %\n\nset volume to (-100) %\n\nstop all sounds\nstart sound [Finger Snap v]\n\nif <(type) = [7]> then\n    if <(Mute) = [false]> then\n    else\n    end\nend\n\nwhen I start as a clone\n\nwhen I receive [intro go away :d v]\nButton [0] [0] [1]\nButton [0] [0] [2]\nButton [-200] [80] [3]\nButton [-191] [153] [5]\nButton [00] [00] [4]\nButton [00] [00] [6]\nButton [-191] [12] [7]\nset [type v] to [200]\n\n@Sprite4\n\nwhen flag clicked\nhide variable [mouse v]\nhide\nwait until <(LEVEL) = [22]>\nstart sound [Win v]\n\nwhen I receive [play v]\nforever\n    if <(Red ruby?) = [true]> then\n        go to [front v] layer\n        show\n    else\n        hide\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Mobile attack v)\n\n@Sprite5\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    go to [front v] layer\n    go [forward v] (1) layers\nend\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (Next level v)\n\nwhen I receive [play v]\nshow\nwait (1) seconds\ngo to [front v] layer\nforever\n    go [forward v] (1) layers\n    go to [front v] layer\nend\n\nwhen flag clicked\nwait until <(LEVEL) > [21]>\nhide\n\ndelete this clone\n\n@Intro\n\nwhen flag clicked\nif <not <(Seen?) = [1]>> then\n    broadcast (Intro v)\nelse\n    broadcast (Intro go away :D v)\nend\n\nrepeat (20)\n\nrepeat (90)\n\nwait (.09) seconds\n\nrepeat (10)\n    change x by (70)\nend\nhide\n\nwhen I start as a clone\nif <(Clone #) = [0]> then\n    point in direction (90)\n    set [ghost v] effect to (0)\n    set [brightness v] effect to (0)\n    show\n    set size to (190) %\n    go to x: (30) y: (13)\n    repeat (5)\n        switch costume to (1 v)\n        repeat (13)\n            next costume\n        end\n    end\n    broadcast (message1 v) and wait\n    switch costume to (21 v)\n    wait (0.3) seconds\n    next costume\n    wait (0.5) seconds\n    broadcast (0 v)\n    switch costume to (15 v)\n    repeat (5)\n        next costume\n    end\n    repeat (30)\n        change y by (-10)\n    end\n    wait (0.2) seconds\n    set size to (90) %\n    repeat (2)\n        go to x: (30) y: (234)\n        repeat (45)\n            change y by (-10)\n        end\n    end\n    broadcast (1 v)\n    set size to (190) %\n    go to x: (30) y: (234)\n    repeat (20)\n        change y by (-10)\n    end\n    broadcast (3 v)\n    repeat (55)\n        change y by (-1)\n        turn right (15) degrees\n        change [brightness v] effect by (5)\n        change size by (-5)\n    end\n    hide\n    broadcast (0 v)\n    broadcast (2 v)\nend\n\nwhen I start as a clone\nif <(Clone #) = [1]> then\n    go to [back v] layer\n    set size to (100) %\n    set [brightness v] effect to (0)\n    set [ghost v] effect to (0)\n    show\n    switch costume to (costume1 v)\n    go to x: (0) y: (0)\nend\n\nwhen I receive [3 v]\nif <(Clone #) = [1]> then\n    switch costume to (project name v)\n    show\n    set [brightness v] effect to (0)\n    set [ghost v] effect to (0)\n    repeat (70)\n        change [brightness v] effect by (2)\n        change size by (5)\n        wait (.04) seconds\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n        wait (.09) seconds\n    end\n    wait (7) seconds\n    hide\n    wait (0) seconds\nend\n\nwhen I receive [message1 v]\nif <(Clone #) = [1]> then\n    switch costume to (project name v)\n    repeat (10)\n        change x by (10)\n        wait (.09) seconds\n    end\n    hide\nend\n\nwhen I receive [1 v]\nif <(Clone #) = [1]> then\n    show\n    switch costume to (costume3 v)\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\npoint in direction (90)\n\nwhen I receive [intro go away :d v]\nset [seen? v] to [1]\nbroadcast (Outro v)\nhide\n\nwhen I receive [3 v]\n\nwhen I start as a clone\nif <(Clone #) = [3]> then\n    go to x: (0) y: (0)\n    go to [back v] layer\n    set size to (100) %\n    show\n    switch costume to (costume2 v)\nend\n\nset [brightness v] effect to (0)\nset [ghost v] effect to (0)\nrepeat (70)\n    change [brightness v] effect by (2)\n    change size by (5)\n    wait (.04) seconds\nend\nrepeat (20)\n    change [ghost v] effect by (5)\n    wait (.09) seconds\nend\nhide\nbroadcast (Intro go away :D v)\n\nwhen I receive [intro go away :d v]\ndelete this clone\n\nwhen I receive [intro v]\nstart sound [meow v]\nset [clone # v] to [0]\ncreate clone of (_myself_ v)\nchange [clone # v] by (1)\ncreate clone of (_myself_ v)\nchange [clone # v] by (1)\ncreate clone of (_myself_ v)\nchange [clone # v] by (1)\ncreate clone of (_myself_ v)\nchange [clone # v] by (1)\ncreate clone of (_myself_ v)\nchange [clone # v] by (2)\n\nset [clone # v] to [3]\nset [clone # v] to [4]\ncreate clone of (_myself_ v)\nset [clone # v] to [6]\n\nwhen I start as a clone\nif <(Clone #) = [4]> then\n    go to [front v] layer\n    set [ghost v] effect to (0)\n    switch costume to (main oc v)\n    hide\n    go to x: (0) y: (0)\n    point in direction (90)\n    set [float v] to [0]\n    wait (12) seconds\n    start sound [6 SECOND INTRO! v]\n    go to [front v] layer\n    show\n    repeat (200)\n        set size to ((([cos v] of (Float) ) / (5)) + (100)) %\n        point in direction ((([cos v] of (Float) ) * (5)) + (90))\n        change [float v] by (7.8)\n    end\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    broadcast (Intro go away :D v)\n    delete this clone\nend\n\nstart sound [Suction Cup v]\n\nwhen I start as a clone\nif <(Clone #) = [5]> then\n    set size to (pick random (50) to (90)) %\n    set [ghost v] effect to (0)\n    switch costume to (pick random (28) to (30))\n    go to x: (pick random (-220) to (220)) y: (pick random (-200) to (50))\n    show\n    repeat (50)\n        change y by (3)\n        change [ghost v] effect by (2)\n    end\n    delete this clone\nend\n\nhide\ngo to x: (0) y: (0)\npoint in direction (90)\nset [float v] to [0]\nwait (12) seconds\nshow\nrepeat (400)\n    change size by ([cos v] of (Float) )\n    point in direction ([cos v] of (Float) )\n    change [float v] by (3)\nend\nhide\nbroadcast (Intro go away :D v)\ndelete this clone\n\nwhen flag clicked\nwait (13.5) seconds\nif <not <(Seen?) = [1]>> then\n    repeat (45)\n        set [clone # v] to [5]\n        create clone of (_myself_ v)\n        wait (.09) seconds\n    end\nend\n\nset [color v] effect to (0)\n\nset [clone # v] to [3]\n\nhide\n\nchange size by (10)\n\n@Platforms\n\nwhen I receive [next level v]\ngo to [front v] layer\nnext costume\nswitch costume to (LEVEL)\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\nforever\n    switch costume to (LEVEL)\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen I receive [play v]\nshow\n\n@Moving Danger\n\ndefine Mv (x) (y) (xvs) (yvs) (xvc) (yvc) (xrad) (yrad) (turn) (lv) (costu)\nswitch costume to (costu)\npoint in direction (90)\ngo to x: (x) y: (y)\nset [xv v] to (xvs)\nset [yv v] to (yvs)\nrepeat until <not <(LEVEL) = (lv)>>\n    if <(xrad) = [0]> then\n        set x to (x)\n    else\n        set x to (([cos v] of (xv) ) * (xrad))\n    end\n    if <(yrad) = [0]> then\n        set y to (y)\n    else\n        set y to ((([cos v] of (yv) ) * (yrad)) + (y))\n    end\n    turn right (turn) degrees\n    change [xv v] by (xvc)\n    change [yv v] by (yvc)\nend\n\nwhen flag clicked\nset [level v] to [1]\nhide\nwait until <(LEVEL) = [2]>\nshow\nMv [-6] [-142] [0] [14] [12] [9] [0] [-100] [0] [2] [1]\nhide\nset [clone v] to [0]\nwait until <(LEVEL) = [6]>\nshow\nMv [10] [-40] [0] [14] [12] [2] [0] [2] [15] [6] [2]\nhide\nset [clone v] to [0]\nwait until <(LEVEL) = [7]>\nshow\nMv [70] [-40] [0] [14] [12] [60] [0] [90] [15] [7] [3]\nhide\nset [clone v] to [0]\n\nwhen I start as a clone\nshow\nif <(clone) = [1]> then\n    show\n    Mv [-22] [-142] [0] [90] [0] [5] [0] [60] [0] [2] [1]\n    delete this clone\nend\nif <(clone) = [2]> then\n    Mv [25] [0] [0] [90] [0] [5] [0] [60] [0] [9] [2]\n    delete this clone\nend\nif <(clone) = [3]> then\n    Mv [175] [0] [0] [0] [0] [5] [0] [60] [0] [9] [2]\n    delete this clone\nend\nif <(clone) = [4]> then\n    Mv [0] [0] [0] [90] [0] [4] [0] [130] [5] [10] [1]\n    delete this clone\nend\nif <(clone) = [5]> then\n    Mv [0] [0] [0] [-90] [0] [4] [0] [130] [20] [10] [1]\n    delete this clone\nend\nif <(clone) = [6]> then\n    Mv [-100] [0] [90] [0] [12] [0] [44] [0] [0] [12] [3]\n    delete this clone\nend\nif <(clone) = [7]> then\n    Mv [100] [0] [-90] [0] [12] [0] [44] [0] [0] [12] [4]\n    delete this clone\nend\n\nrepeat (3)\n    change [clone v] by (1)\n    create clone of (_myself_ v)\nend\nwait until <(LEVEL) = [10]>\nrepeat (2)\n    change [clone v] by (1)\n    create clone of (_myself_ v)\nend\nwait until <(LEVEL) = [11]>\nshow\nMv [0] [-50] [90] [0] [12] [12] [80] [80] [15] [11] [1]\nhide\nrepeat (2)\n    change [clone v] by (1)\n    create clone of (_myself_ v)\nend\nwait until <(LEVEL) = [19]>\nshow\nMv [0] [0] [0] [0] [0] [12] [0] [90] [15] [19] [1]\nhide\n\nMv [-6] [-142] [0] [-90] [8] [9] [0] [0] [0] [2] [1]\n\nwhen [a v] key pressed\n\nif <(username) = [imklleroffire]> then\n    ask [Number/level:] and wait\n    set [level v] to (answer)\n    broadcast (Next level v)\nend\n\n@Player\n\nwhen I receive [green flag clicked v]\n\nwhen flag clicked\nforever\n    wait until <<touching (lava-danger v)?> or <<touching (guards v)?> or <touching (spikes v)?>>>\n    set [x v] to [0]\n    set [y v] to [2]\n    start sound [Lo Geh Tabla v]\n    create clone of (_myself_ v)\n    hide\n    wait until <not <<touching (lava-danger v)?> or <touching (guards v)?>>>\n    go to x: (-210) y: (-50)\n    show\nend\n\nwhen flag clicked\n\nforever\n    set [ghost v] effect to (50)\nend\n\nif <touching color (#66c0ff)?> then\n\nif <key (up arrow v) pressed?> then\n    set [y v] to [5]\nelse\n    if <key (down arrow v) pressed?> then\n        set [y v] to [-5]\n    else\n        set [y v] to [-1]\n    end\nend\n\nwhen flag clicked\n\nforever\n    if <touching color (#ffdc66)?> then\nend\n\nchange x by (100)\n\nwhen flag clicked\nforever\n    if <touching color (#00ff55)?> then\n        set [y v] to [-15]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (bounce v)?> then\n        start sound [Jump v]\n        set [y v] to [14]\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <touching color (#66c0ff)?>> then\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite3 v)?> then\n        point in direction (90)\n        set [ghost v] effect to (0)\n        broadcast (Next level v)\n        change [level v] by (1)\n        wait (2) seconds\n    end\nend\n\nwhen flag clicked\n\nforever\n    show\nend\n\nwhen I receive [next level v]\ngo to x: (-210) y: (-50)\n\nwhen I start as a clone\nswitch costume to (player5 v)\nrepeat (100)\n    change size by (-1)\n    change y by (2)\n    change [ghost v] effect by (1)\n    turn right (90) degrees\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    wait until <(y position) < [-175]>\n    go to x: (-204) y: (-50)\n    create clone of (_myself_ v)\n    hide\n    wait until <not <(y position) < [-175]>>\n    go to x: (-204) y: (-50)\n    show\nend\n\nwhen flag clicked\nforever\n    wait until <touching (moving danger v)?>\n    create clone of (_myself_ v)\n    hide\n    wait until <not <touching (moving danger v)?>>\n    go to x: (-204) y: (-50)\n    show\nend\n\nswitch costume to (player v)\n\nswitch costume to (player2 v)\n\nwhen flag clicked\nforever\n    switch costume to (player v)\n    wait (pick random (3) to (5)) seconds\n    repeat (7)\n        next costume\n    end\n    switch costume to (player v)\nend\n\nwait (.05) seconds\n\nwhen flag clicked\ngo to x: (-210) y: (92)\n\ngo to x: (-204) y: (-120)\n\nhide\n\nwhen flag clicked\n\nforever\n    if <touching (moving platforms v)?> then\n        change x by (1)\n    end\nend\n\nset [y v] to [20]\n\nchange [y v] by (10)\n\nwait (2) seconds\n\nwait (1) seconds\n\nwait (0) seconds\n\nwait (1) seconds\n\nwait (2) seconds\n\nset size to () %\n\nset size to (180) %\n\nchange size by (-1)\n\nrepeat (20)\n    change [ghost v] effect by (5)\n    turn right (18) degrees\n    wait (.09) seconds\nend\n\nwhen flag clicked\n\nwhen [c v] key pressed\nif <(username) = [imklleroffire]> then\n    go to x: ((item (1) of [skip v]) + (150)) y: (item (2) of [skip v])\nend\n\ngo to (sprite3 v)\n\nset y to (y position)\n\nchange x by (10)\n\nforever\n    if <touching (mv hitbox v)?> then\n        set x to ((([x position v] of [mv hitbox v]) - (x position)) / (2))\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen I receive [play v]\nset drag mode [not draggable v]\nset rotation style [left-right v]\nset [level v] to [1]\nshow\nset [ghost v] effect to (0)\npoint in direction (90)\nswitch costume to (player v)\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\ngo to x: (-200) y: (120)\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        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n        change y by (1)\n        if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n            change y by (1)\n            if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                change y by (1)\n                if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                    change y by (1)\n                    if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                        change y by (1)\n                        if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                            change y by (1)\n                            if <<touching (platforms v)?> or <touching (moving platforms v)?>> then\n                                change y by (-6)\n                                if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                    set [y v] to [10]\n                                    change x by ((x) * (-1))\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\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 (platforms v)?> or <touching (moving platforms v)?>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<<touching (platforms v)?> or <<touching (bounce v)?> or <touching (moving platforms v)?>>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\nend\n\nwait (1) seconds\n\n