CAR || #PLATFORMER #GAME

Instructions: CONTROLLS-\n      ARROW KEYS OR WSAD \nLIKE/FAV/COMMENT/FOLLOW\nPLS BE KIND \nNO TROLLING \nNO ADVERTISING\nNO F4F\nMEYBE DEALS\nCOMMENT ABOUT IT\n\n\n\n\n\n\n\n\n\n\n\n\n#GAME #PLATFORMER #CAR #CARFORMER #CARPLATFORMER #LIKE #FAV #FOLLOW #COMMENT #CAR #ARTS #THUMBNAIL #THUMBNAILS #ART#COOL #FUN #FUNNY \n\n\n

@Stage\n\n@Love and fave reminder\n\nwhen I receive [intro v]\nhide\ngo to [front v] layer\nforever\n    wait (pick random (3) to (5)) seconds\n    switch costume to (costume1 v)\n    go to x: (-100) y: (105)\n    show\n    go to [front v] layer\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\nwhen flag clicked\nhide\ngo to x: (-6) y: (105)\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\ngo to [front v] layer\nswitch costume to (2 v)\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@player\n\ndefine Platformer Physics (speed) (friction) (jump height)\nchange [y vel v] by (-1)\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x vel v] by (speed)\n    switch costume to (costume1 v)\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [x vel v] by ((speed) * (-1))\n    switch costume to (costume2 v)\nend\nset [x vel v] to ((X vel) * (friction))\nchange x by (X vel)\nset [slope v] to [0]\nif <<touching (level v)?> or <touching (sprite2 v)?>> then\n    repeat until <<not <touching (level v)?>> or <(slope) = [-8]>>\n        change [slope v] by (-1)\n        change y by (1)\n    end\nend\nif <<touching (level v)?> or <touching (sprite2 v)?>> then\n    change y by (slope)\n    repeat until <not <<touching (level v)?> or <touching (sprite2 v)?>>>\n        change x by ((([abs v] of (X vel) ) / (X vel)) * (-1))\n    end\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <(X vel) > [0]> then\n            set [x vel v] to [-12]\n        else\n            set [x vel v] to [12]\n        end\n        set [y vel v] to [12]\n    else\n        set [x vel v] to [0]\n    end\nend\nchange y by (Y vel)\nif <<touching (level v)?> or <touching (sprite2 v)?>> then\n    repeat until <not <<touching (level v)?> or <touching (sprite2 v)?>>>\n        change y by ((([abs v] of (Y vel) ) / (Y vel)) * (-1))\n    end\n    set [y vel v] to [0]\nend\nchange y by (-1)\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<touching (level v)?> or <touching (sprite2 v)?>>> then\n    set [y vel v] to (jump height)\nend\nchange y by (1)\n\nwhen I receive [end v]\ngo to x: (-198) y: (-10)\n\nwhen I receive [intro v]\nshow\ngo to [front v] layer\nset [level v] to [1]\nset [x vel v] to [0]\nset [y vel v] to [0]\nswitch costume to (costume1 v)\nReset Position [-198] [-10]\npoint in direction (90)\nforever\n    Platformer Physics [1] [0.9] [13]\n    if <touching (spikes v)?> then\n        start sound [Roblox Death Sound - OOF Sound Effect v]\n        Reset Position [-198] [-10]\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nwhen I receive [intro v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (effect v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nbroadcast (intro v)\n\ndefine Reset Position (x) (y)\ngo to x: (x) y: (y)\n\nwhen flag clicked\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (sprite1 v)?> and <touching (_edge_ v)?>> then\n        change [level v] by (1)\n        Reset Position [-198] [-10]\n    end\n    if <<touching (enemy5 v)?> or <<touching (fire v)?> or <<touching (fire2 v)?> or <<touching (fire3 v)?> or <<touching (falling potatoers2 v)?> or <<touching (enemy4 v)?> or <<touching (enemy3 v)?> or <<touching (falling potatoers v)?> or <<touching (spining trap2 v)?> or <<<touching (enemy v)?> or <touching (enemy2 v)?>> or <touching (spining trap v)?>>>>>>>>>>> then\n        Reset Position [-198] [-10]\n    end\nend\n\nwhen I start as a clone\nchange [color v] effect by (25)\n\n@Level\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(level) = [3]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <not <(level) = [12]>> then\n        show\n    else\n        hide\n    end\nend\n\n@Enemy\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        hide\n    end\n    if <(level) = [2]> then\n        switch costume to (spike v)\n        show\n    end\n    if <(level) = [3]> then\n        hide\n    end\nend\n\n@Enemy2\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        hide\n    end\n    if <(level) = [2]> then\n        hide\n    end\n    if <(level) = [3]> then\n        show\n        next costume\n        wait (0.1) seconds\n    else\n        hide\n    end\nend\n\n@SPINING trap\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<(level) = [4]> or <(level) = [6]>> then\n        turn right (7) degrees\n        go to [back v] layer\n        show\n    else\n        hide\n    end\nend\n\n@falling potatoers\n\nwhen flag clicked\nhide\ngo to [back v] layer\nforever\n    if <(level) = [5]> then\n        wait (0.5) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (pick random (-80) to (162)) y: (187)\nrepeat until <(y position) < [-180]>\n    change y by (-10)\nend\ndelete this clone\n\n@SPINING trap2\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        turn right (7) degrees\n        go to [back v] layer\n        show\n    else\n        hide\n    end\nend\n\n@Enemy3\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        switch costume to (spike v)\n        show\n    else\n        hide\n    end\nend\n\n@Enemy4\n\nwhen flag clicked\nforever\n    go to x: (3) y: (136)\n    if <<(level) = [9]> or <(level) = [8]>> then\n        go to [back v] layer\n        switch costume to (spike v)\n        show\n        glide (1.2) secs to x: (3) y: (-159)\n        glide (1) secs to x: (3) y: (136)\n    else\n        hide\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    if <(level) = [11]> then\n        switch costume to (spike v)\n        show\n    else\n        hide\n    end\nend\n\n@falling potatoers2\n\nwhen flag clicked\nhide\ngo to [back v] layer\nforever\n    if <(level) = [9]> then\n        wait (1) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nshow\ngo to x: (111) y: (187)\nrepeat until <(y position) < [-180]>\n    change y by (-10)\nend\ndelete this clone\n\n@Fire\n\nwhen flag clicked\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\nforever\n    if <(level) = [10]> then\n        show\n        wait (0.07) seconds\n        next costume\n    else\n        hide\n    end\nend\n\n@Fire2\n\nwhen flag clicked\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\nforever\n    if <(level) = [10]> then\n        show\n        wait (0.07) seconds\n        next costume\n    else\n        hide\n    end\nend\n\n@Fire3\n\nwhen flag clicked\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\nforever\n    if <(level) = [10]> then\n        show\n        wait (0.07) seconds\n        next costume\n    else\n        hide\n    end\nend\n\n@Enemy5\n\nwhen flag clicked\nforever\n    if <(level) = [11]> then\n        switch costume to (spike v)\n        show\n    else\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [12]> then\n        show\n    end\nend\n\n@thumbnail\n\nwhen flag clicked\nhide\nforever\n    play sound [Alan Walker - Fade \(Icol Remix\) \(1\).mp3 v] until done\nend\n\n