Time || a cloud mobile platformer 

Instructions: <<<Time||a mobile friendly platformer>>>>\n\nMove:\n-Arrow Keys\n-W,A,S,D\n-touch the mobile\n\nLevel:\n~Don´t toch Lava\n~You can walljump\n~Be fast\n\n》》》》》》》》Good luck《《《《《《《

@Stage\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide variable [_i v]\nhide variable [level v]\nhide variable [xv v]\nhide variable [yv v]\n\nwhen I receive [start v]\nsay [Welcome!] for (2) seconds\nforever\n    if <(level) = [2]> then\n        say [Use the arrow keys or touch on mobile to move] for (2) seconds\n    else\n        if <(level) = [3]> then\n            say [ You can walljump] for (2) seconds\n        else\n            if <(level) = [4]> then\n                say [Don´t touch red] for (2) seconds\n            else\n                if <(level) = [5]> then\n                    say [Good luck! ;-\)]\n                else\n                    if <(level) = [6]> then\n                        say []\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\ngo [backward v] (1) layers\nset size to (17) %\npoint in direction (90)\nshow\ngo to x: (-200) y: (0)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > [10]>>>> then\n        set [<links v] to [0]\n        switch costume to (rechts v)\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [-10]>>>> then\n        set [<links v] to [1]\n        switch costume to (links v)\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (level v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <(x position) > [220]> then\n        set [yv v] to [0]\n        set [xv v] to [0]\n        broadcast (Level v)\n        go to x: (-200) y: (0)\n    end\n    if <touching (lava v)?> then\n        broadcast (Dead v)\n        start sound [Tot v]\n        wait (0.000000000000000000000001) seconds\n        set [xv v] to [0]\n        set [yv v] to [0]\n        switch costume to (rechts v)\n        go to x: (-200) y: (0)\n    end\n    if <(y position) < [-170]> then\n        wait (0.000000000000000000000001) seconds\n        set [xv v] to [0]\n        set [yv v] to [0]\n        switch costume to (rechts v)\n        go to x: (-200) y: (0)\n    end\n    if <<touching (bounce v)?> or <<touching (bounce2 v)?> or <touching (bounce3 v)?>>> then\n        set [yv v] to [22]\n    end\nend\n\nwhen I receive [again v]\nset size to (0) %\nhide\n\n@Level\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\nset [level v] to [1]\ngo to x: (0) y: (0)\n\nwhen I receive [level v]\nnext costume\nchange [level v] by (1)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo [forward v] (1) layers\n\nwhen flag clicked\nrepeat until <(costume [name v]) = [end]>\nbroadcast (End v)\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\nshow\nswitch costume to (kostüm1 v)\n\nwhen I receive [again v]\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (100)\n\nwhen I receive [again v]\nset [level v] to [1]\n\nwhen I receive [start v]\nset [level v] to [1]\n\nwhen I receive [end v]\nrepeat until <(costume [number v]) = [1]>\nend\nrepeat until <(costume [name v]) = [end]>\nbroadcast (End 2 v)\n\nwhen I receive [end 2 v]\nrepeat until <(costume [number v]) = [1]>\nend\nrepeat until <(costume [name v]) = [end]>\nbroadcast (End v)\n\n@Dead_Animation\n\nwhen I receive [dead v]\nrepeat (1)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\nset size to (17) %\nhide\nswitch costume to (rechts v)\n\nwhen I start as a clone\nrepeat (1)\n    if <(<Links) = [1]> then\n        switch costume to (links_tot v)\n    else\n        switch costume to (rechts_tot v)\n    end\nend\nshow\nset [p x v] to (pick random (5) to (-5))\nset [p y v] to (pick random (10) to (15))\nforever\n    go to [front v] layer\n    change x by (P X)\n    change y by (P Y)\n    turn right (((P X) * ([abs v] of (P Y) )) / (2)) degrees\n    change [p y v] by (-1)\n    if <<([abs v] of (x position) ) > [239]> or <([abs v] of (y position) ) > [179]>> then\n        hide\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    go to (player v)\nend\n\nwhen flag clicked\ngo [backward v] (2) layers\n\nwhen I receive [again v]\nhide\n\nwhen I receive [start v]\nhide\n\n@LAVA\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen I receive [level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(level) = [0]> then\n        hide\n    else\n        if <(level) = [1]> then\n            hide\n        else\n            if <(level) = [2]> then\n                hide\n            else\n                if <(level) = [3]> then\n                    hide\n                else\n                    if <(level) = [4]> then\n                        switch costume to (kostüm1 v)\n                        show\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [again v]\nset [ghost v] effect to (100)\nswitch costume to (kostüm7 v)\nhide\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\nshow\n\n@Bounce\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\nhide\nforever\n    if <touching (player v)?> then\n        repeat (3)\n            wait (0.01) seconds\n            next costume\n        end\n        repeat (3)\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) < [6]> then\n        hide\n    else\n        if <(level) = [6]> then\n            show\n            go to x: (-100) y: (-124)\n        else\n            if <(level) = [7]> then\n                go to x: (-122) y: (-124)\n                show\n            else\n                if <(level) = [10]> then\n                    go to x: (-180) y: (-169)\n                    show\n                else\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [again v]\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\nshow\n\n@Bounce3\n\nwhen flag clicked\nhide\nswitch costume to (kostüm1 v)\nforever\n    if <touching (player v)?> then\n        repeat (3)\n            wait (0.01) seconds\n            next costume\n        end\n        repeat (3)\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        hide\n    else\n        if <(level) = [7]> then\n            go to x: (129) y: (-124)\n            show\n        else\n            if <(level) = [10]> then\n                go to x: (129) y: (-170)\n                show\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [again v]\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [start v]\nset [ghost v] effect to (0)\nshow\n\n@Clone\n\nwhen flag clicked\nforever\n    go [backward v] (3) layers\n    change [color v] effect by (1)\n    go to (player v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (100) %\nset [ghost v] effect to (0)\nrepeat (50)\n    change size by (-2)\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\nhide\nwait (2.5) seconds\nshow\n\nwhen flag clicked\nhide variable [level v]\n\nwhen I start as a clone\nset size to (100) %\nset [ghost v] effect to (0)\nrepeat (50)\n    change size by (-2)\n    change [ghost v] effect by (2)\nend\ndelete this clone\n\nwhen I receive [again v]\nswitch costume to (kostüm1 v)\nhide\n\nwhen I receive [start v]\nshow\nforever\n    go [backward v] (3) layers\n    change [color v] effect by (1)\n    go to (player v)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [end 2 v]\nswitch costume to (party hat-a v)\n\nwhen I receive [end v]\nswitch costume to (party hat-a v)\n\n@Bubble\n\nwhen flag clicked\nhide\nwait (2.5) seconds\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(level) = [12]> then\n    change [color v] effect by (pick random (0) to (100))\n    show\n    set [ghost v] effect to (pick random (60) to (90))\n    set size to (pick random (50) to (120)) %\n    go to x: (pick random (-249) to (249)) y: (-187)\n    glide (2.5) secs to x: (pick random (-249) to (249)) y: (187)\n    delete this clone\nelse\n    show\n    set [ghost v] effect to (pick random (60) to (90))\n    set size to (pick random (50) to (120)) %\n    go to x: (pick random (-249) to (249)) y: (-187)\n    glide (2.5) secs to x: (pick random (-249) to (249)) y: (187)\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go [backward v] (100) layers\nend\n\n@End-time\n\nwhen flag clicked\nshow\ngo to x: (50) y: (55)\n\nwhen I receive [end v]\nsay (Time)\n\nwhen I receive [again v]\nsay []\n\nwhen I receive [end 2 v]\nsay (Time)\n\n@Menu-picture\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\nset [menu v] to [1]\ngo to x: (0) y: (0)\nhide\nwait (2.5) seconds\ngo [backward v] (1) layers\nshow\nforever\n    change [color v] effect by (1)\nend\n\nwhen I receive [start v]\nset [menu v] to [0]\nhide\n\nwhen I receive [again v]\nset [menu v] to [1]\ngo [backward v] (3) layers\nshow\nforever\n    change [color v] effect by (1)\nend\n\n@Play-Button\n\nwhen flag clicked\nset size to (200) %\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [forward v] (3) layers\nhide\nwait (2.5) seconds\nshow\n\nwhen flag clicked\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (Start v)\n        hide\n        set size to (0) %\n        go to x: (360) y: (360)\n    end\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [again v]\nshow\nset size to (200) %\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [forward v] (3) layers\n\n@Menu\n\nwhen flag clicked\nforever\n    go [forward v] (2) layers\nend\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (Again v)\n        hide\n    end\nend\n\n@Time a platformer\n\nwhen flag clicked\npoint in direction (90)\nset size to (100) %\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [forward v] (2) layers\nhide\nwait (2.5) seconds\nshow\nforever\n    point in direction ((([sin v] of ((timer) * (150)) ) * (6)) + (90))\nend\n\nwhen I receive [again v]\nset size to (100) %\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [start v]\nhide\n\n@Love, Fave, Follow\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\ngo [backward v] (4) layers\n\nwhen I receive [end v]\nshow\n\nwhen I receive [again v]\nhide\n\nwhen I receive [end 2 v]\nshow\n\n@Highscore\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to [front v] layer\nhide\nwait (2.5) seconds\nshow\n\nwhen flag clicked\nforever\n    if <touching color (#000000)?> then\n        set [ghost v] effect to (60)\n        switch costume to (kostüm1 v)\n    else\n        set [ghost v] effect to (0)\n        switch costume to (kostüm1 v)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nswitch costume to (kostüm2 v)\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nset [brightness v] effect to (0)\nshow\ngo to [front v] layer\ngo [forward v] (1) layers\nwait (2) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\n    change [brightness v] effect by (2)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Time-Highscore\n\nwhen flag clicked\nrepeat until <(level) = [12]>\nif <(Time) < (☁ World record)> then\n    show\n    set [☁ world record v] to (Time)\nend\n\nwhen I receive [again v]\nhide variable [time v]\n\nwhen flag clicked\nset [time v] to [0]\nhide variable [time v]\n\nwhen flag clicked\nhide variable [☁ world record v]\nwait (2.5) seconds\nshow variable [☁ world record v]\n\nwhen I receive [start v]\nset [time v] to [0]\nshow variable [time v]\n\nwhen I receive [end v]\nrepeat until <(level) = [12]>\nif <(Time) < (☁ World record)> then\n    show\n    set [☁ world record v] to (Time)\nend\n\nwhen I receive [end 2 v]\nrepeat until <(level) = [12]>\nif <(Time) < (☁ World record)> then\n    show\n    set [☁ world record v] to (Time)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [again v]\nhide\n\nwhen I receive [start v]\nforever\n    wait (0.1) seconds\n    change [time v] by (0.1)\n    if <(level) = [12]> then\n        hide variable [time v]\n    end\nend\n\nwhen I receive [again v]\nset [level v] to [1]\nhide variable [time v]\n\nwhen I receive [start v]\nset [level v] to [1]\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\n@language translator\n\nwhen flag clicked\nset [language_on v] to [0]\nset [language_off v] to [0]\nset size to (100) %\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [forward v] (2) layers\nhide\nwait (2.5) seconds\n\nwhen flag clicked\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(language_off) = [1]> then\n            language_on\n            broadcast (language_on v)\n            set [language_on v] to [1]\n            set [language_off v] to [0]\n            wait (0.3) seconds\n        else\n            if <(language_on) = [1]> then\n                broadcast (language_off v)\n                language_off\n                set [language_off v] to [1]\n                set [language_on v] to [0]\n                wait (0.3) seconds\n            else\n                language_off\n                broadcast (language_off v)\n                set [language_off v] to [1]\n                wait (0.3) seconds\n            end\n        end\n    end\nend\n\nwhen I receive [again v]\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(language_off) = [1]> then\n            broadcast (language_on v)\n            language_on\n            set [language_on v] to [1]\n            set [language_off v] to [0]\n            wait (0.3) seconds\n        else\n            if <(language_on) = [1]> then\n                broadcast (language_off v)\n                language_off\n                set [language_off v] to [1]\n                set [language_on v] to [0]\n                wait (0.3) seconds\n            else\n                broadcast (language_on v)\n                language_on\n                set [language_on v] to [1]\n                wait (0.3) seconds\n            end\n        end\n    end\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [start v]\nif <(language_on) = [1]> then\n    set language to ((language::translate) v)::tts\n    speak (translate [Hello] to ((language::translate) v)::translate)::tts\n    repeat until <(level) = [2]>\n    speak (translate [Use the arrow keys or touch on mobile to move] to ((language::translate) v)::translate)::tts\n    repeat until <(level) = [3]>\n    speak (translate [You can on the wall jump] to ((language::translate) v)::translate)::tts\n    repeat until <(level) = [4]>\n    speak (translate [ Don´t touch red] to ((language::translate) v)::translate)::tts\n    repeat until <(level) = [5]>\n    speak (translate [Good luck] to ((language::translate) v)::translate)::tts\nend\n\nwhen I receive [start v]\nset volume to (100) %\n\nwhen I receive [again v]\nset volume to (0) %\n\nwhen flag clicked\nset volume to (100) %\n\nwhen I receive [language_off v]\nset volume to (0) %\n\nwhen I receive [language_on v]\nset volume to (100) %\n\nwhen flag clicked\nswitch costume to (kostüm1 v)\nhide\nwait (2.5) seconds\nshow\ngo [forward v] (4) layers\ngo to x: (0) y: (-200)\n\ndefine language_off\nrepeat (25)\n    next costume\nend\n\ndefine language_on\nrepeat (25)\n    switch costume to ((costume [number v]) - (1))\nend\n\nwhen I receive [start v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (50)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\n@language2\n\nwhen flag clicked\npoint in direction (90)\nset size to (100) %\ngo to x: (0) y: (0)\ngo to [front v] layer\ngo [forward v] (2) layers\nhide\nwait (2.5) seconds\nshow\n\nwhen I receive [start v]\nhide\n\n