Hardest Platformer

Instructions: Hey guys! I made a new Platformer, please like and remix!\nBig update! World records, more variation, and clouds.\n\nCode - @Ziyu3 and @TKD_Viking!!!!\nSong is Vexento - Syndrome\n\nNo ads pls\n\nFAQ answers : \n-All levels are possible\n-No Follow for Follow\n-Not complete\n\n#games\n#game\n#platformer\n#Popular\n#worldrecord

@Stage\n\nwhen flag clicked\nset volume to (10) %\nforever\n    set volume to (10) %\n    play sound [Vexento - Syndrome v] until done\nend\n\nwhen flag clicked\nset [your time v] to [0]\nhide variable [☁ world record v]\nshow variable [your time v]\nrepeat until <(Level) = [12]>\n    wait (1) seconds\n    change [your time v] by (1)\nend\nshow variable [☁ world record v]\nif <(☁ World Record) > (Your Time)> then\n    change [☁ world record v] by (Your Time)\nend\n\n@Player\n\nwhen flag clicked\nset [xvel v] to [0]\nset [yvel v] to [0]\nset [level v] to [1]\ngo to x: (-180) y: (-50)\nforever\n    Run physics [0.9] [0.9] [-1] [15]\n    if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n        if <not <<touching color (#4c86ff)?> or <touching color (#437de0)?>>> then\n            if <(SKIN) = [1]> then\n                switch costume to (costume2 v)\n            end\n            if <(SKIN) = [2]> then\n                switch costume to (costume4 v)\n            end\n        else\n            if <(SKIN) = [1]> then\n                switch costume to (costume1 v)\n            end\n            if <(SKIN) = [2]> then\n                switch costume to (costume3 v)\n            end\n        end\n    else\n        if <(SKIN) = [1]> then\n            switch costume to (costume1 v)\n        end\n        if <(SKIN) = [2]> then\n            switch costume to (costume3 v)\n        end\n    end\nend\n\ndefine Run physics (speed) (friction) (gravity) (jump height)\nchange [yvel v] by (gravity)\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [xvel v] by (speed)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [xvel v] by ((speed) * (-1))\nend\nset [xvel v] to ((Xvel) * (friction))\nchange x by (Xvel)\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (1)\nend\nif <touching (ground v)?> then\n    change y by (-4)\n    change x by ((Xvel) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        set [yvel v] to ((jump height) - (3.5))\n        if <[0] < (Xvel)> then\n            set [xvel v] to [-6]\n        else\n            set [xvel v] to [6]\n        end\n    else\n        set [xvel v] to [0]\n    end\nend\nchange y by (Yvel)\nif <touching (ground v)?> then\n    change y by ((Yvel) * (-1))\n    set [yvel v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <touching (ground v)?> then\n        set [yvel v] to (jump height)\n    end\nend\nchange y by (1)\n\nwhen I receive [ded v]\nstart sound [Roblox Death Sound  OOF Sound Effect v]\ngo to x: (-180) y: (-50)\nset [ghost v] effect to (0)\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [next level v]\ngo to x: (-180) y: (-50)\n\nwhen flag clicked\nrepeat until <(Level) = [22]>\n    if <[220] < (x position)> then\n        broadcast (Next level v) and wait\n        wait until <not <[220] < (x position)>>\n    end\n    if <<<(y position) < [-170]> or <touching (spikes v)?>> or <<touching (lava v)?> or <touching (saw v)?>>> then\n        broadcast (Ded v) and wait\n    end\n    if <touching (bouncy v)?> then\n        set [yvel v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#54ceff)?> or <touching color (#63d2ff)?>> then\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n            change [xvel v] by (-1.3)\n        end\n        if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            change [xvel v] by (1.3)\n        end\n        if <<<key (down arrow v) pressed?> or <key (s v) pressed?>> or <<mouse down?> and <(y position) > (mouse y)>>> then\n            change [yvel v] by (-1.3)\n        end\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [yvel v] by (1.3)\n        end\n        set [xvel v] to ((Xvel) * (0.81))\n        set [yvel v] to ((Yvel) * (0.81))\n        change [yvel v] by (((Yvel) / (14.9)) + (0.1))\n    end\n    set size to (125) %\nend\n\nwhen I receive [respawn v]\ngo to x: (-180) y: (-50)\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    if <[220] < (x position)> then\n        play sound [Ding Sound Effect v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (bouncy v)?> then\n        play sound [Mario_Jump_-_Gaming_Sound_Effect v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(y position) < [-170]> or <touching (spikes v)?>> or <<touching (lava v)?> or <touching (saw v)?>>> then\n        play sound [Roblox Death Sound  OOF Sound Effect v] until done\n    end\nend\n\nwhen flag clicked\nset [skin v] to [1]\nforever\n    if <(SKIN) = [1]> then\n        if <[2] = (costume [number v])> then\n            set [xvel v] to [0]\n            wait until <not <[2] = (costume [number v])>>\n        end\n    end\n    if <(SKIN) = [2]> then\n        if <[4] = (costume [number v])> then\n            set [xvel v] to [0]\n            wait until <not <[4] = (costume [number v])>>\n        end\n    end\nend\n\nwhen [z v] key pressed\nif <(SKIN) = [1]> then\n    set [skin v] to [2]\n    switch costume to (costume3 v)\nend\n\nif <(SKIN) = [1]> then\n\nif <(SKIN) = [1]> then\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\n    go [backward v] (5) layers\n    set [level v] to (costume [number v])\n    go to x: (0) y: (0)\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    go to [front v] layer\n    go [backward v] (10) layers\n    set [level v] to (costume [number v])\n    go to x: (0) y: (0)\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Lava\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    go [backward v] (9) layers\n    set [level v] to (costume [number v])\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [backward v] (9) layers\nforever\n    repeat (20)\n        change y by (0.5)\n    end\n    repeat (20)\n        change y by (-0.5)\n    end\nend\n\n@Bouncy\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (8) layers\nswitch costume to (costume1 v)\nshow\nforever\n    if <touching (player v)?> then\n        switch costume to (costume1 v)\n        repeat until <(costume [number v]) = [5]>\n            next costume\n        end\n        repeat until <(costume [number v]) = [1]>\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    go [backward v] (8) layers\nend\n\ndefine Clone at x: (x) y: (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (8) layers\nhide\nif <(Level) = [4]> then\n    Clone at x: [-120] y: [-115]\nelse\n    if <(Level) = [12]> then\n        Clone at x: [-35] y: [-105]\n    else\n        hide\n        delete this clone\n    end\nend\n\nwhen I receive [next level v]\nif <(Level) = [3]> then\n    Clone at x: [-120] y: [-115]\nelse\n    if <(Level) = [11]> then\n        Clone at x: [-35] y: [-105]\n    else\n        hide\n        delete this clone\n    end\nend\n\n@Woter\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    go [backward v] (11) layers\n    set [level v] to (costume [number v])\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [backward v] (9) layers\nforever\n    repeat (20)\n        change y by (0.5)\n    end\n    repeat (20)\n        change y by (-0.5)\n    end\nend\n\n@Saw\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\ngo [backward v] (9) layers\nforever\n    set size to (70) %\n    hide\n    go to [front v] layer\n    go [backward v] (9) layers\n    go to x: (0) y: (0)\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [next level v]\nif <(Level) = [1]> then\n    Clone at x: [150] y: [-125]\nelse\n    if <(Level) = [3]> then\n        Clone at x: [30] y: [125]\n    else\n        if <(Level) = [5]> then\n            Clone at x: [30] y: [-125]\n        else\n            hide\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (8) layers\nhide\nif <(Level) = [2]> then\n    Clone at x: [150] y: [-125]\nelse\n    if <(Level) = [4]> then\n        Clone at x: [30] y: [125]\n    else\n        if <(Level) = [6]> then\n            Clone at x: [30] y: [-125]\n        else\n            hide\n            delete this clone\n        end\n    end\nend\n\ndefine Clone at x: (x) y: (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (8) layers\nswitch costume to (costume1 v)\nshow\nforever\n    turn right (10) degrees\nend\n\nwhen I receive [next level v]\ndelete this clone\n\nwait until <(Level) = [50]>\n\n@Text\n\nwhen flag clicked\nswitch costume to (costume2 v)\nforever\n    go to [front v] layer\n    go [backward v] (2) layers\n    set [level v] to (costume [number v])\n    go to x: (0) y: (0)\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Tb\n\nwhen flag clicked\nshow\nhide variable [timer v]\ngo to [front v] layer\nhide\nset [ghost v] effect to (100)\nforever\n    set [timer v] to (timer)\nend\n\nwhen [timer v] > (Timer)\nset [ghost v] effect to (0)\nhide variable [☁ world record v]\nhide variable [your time v]\nshow\nforever\n    go to [front v] layer\nend\n\n@Clouds\n\nwhen flag clicked\nset [cloud skin v] to [0]\ngo to [back v] layer\ngo [backward v] (1) layers\nforever\n    create clone of (_myself_ v)\n    wait (pick random (1.2) to (2.5)) seconds\nend\n\nwhen I start as a clone\nshow\ngo to x: (300) y: (pick random (-50) to (200))\nrepeat (100)\n    change x by (Wind speed)\nend\n\nwhen I start as a clone\nset [cloud skin v] to (pick random (1) to (10))\nif <(Cloud skin) = [1]> then\n    switch costume to (costume1 v)\nend\nif <(Cloud skin) = [2]> then\n    switch costume to (costume2 v)\nend\nif <(Cloud skin) = [3]> then\n    switch costume to (costume3 v)\nend\nif <(Cloud skin) = [4]> then\n    switch costume to (costume4 v)\nend\nif <(Cloud skin) = [5]> then\n    switch costume to (costume5 v)\nend\nif <(Cloud skin) = [6]> then\n    switch costume to (costume6 v)\nend\nif <(Cloud skin) = [7]> then\n    switch costume to (costume7 v)\nend\nif <(Cloud skin) = [8]> then\n    switch costume to (costume8 v)\nend\nif <(Cloud skin) = [9]> then\n    switch costume to (costume9 v)\nend\nif <(Cloud skin) = [10]> then\n    switch costume to (costume10 v)\nend\nif <(Cloud skin) = [11]> then\n    switch costume to (costume11 v)\nend\nif <(Cloud skin) = [12]> then\n    switch costume to (costume12 v)\nend\nif <(Cloud skin) = [13]> then\n    switch costume to (costume13 v)\nend\n\nwhen flag clicked\nset [wind speed v] to (pick random (-5) to (-10))\nif <(Wind speed) = [-10]> then\n    set [wind speed v] to (pick random (-9) to (-12))\nend\n\nwhen I start as a clone\nwait (1.205) seconds\nwait until <touching (_edge_ v)?>\nrepeat (5)\n    change [ghost v] effect by (20)\n    wait (.05) seconds\nend\ndelete this clone\n\nwhen I start as a clone\nchange size by (pick random (0) to (-20))\nforever\n    change [ghost v] effect by (3)\n    wait (.05) seconds\nend\n\n