freddy fazbear platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    play sound [mixkit-pop-05-695 v] until done\nend\n\n@Level\n\nwhen flag clicked\nshow\nset [level v] to [1]\nswitch costume to (Level)\n\ngo to x: (0) y: (10)\n\nwhen I receive [message1 v]\nswitch costume to (Level)\n\nwait (0.8) seconds\nchange y by (8)\n\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    if <(Level) = [30]> then\n        if <(☁ Fastest time completed) > (Time)> then\n            set [☁ fastest time completed v] to (round (Time))\n        end\n    end\nend\n\n@Bad stuff\n\nwhen flag clicked\nshow\nset [level v] to [1]\nswitch costume to (Level)\ngo to x: (0) y: (0)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [message1 v]\nforever\n    switch costume to (Level)\nend\n\nset [level v] to [25]\n\n@Hi\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [level v] to [1]\nswitch costume to (Level)\ngo to x: (0) y: (0)\n\nwhen I receive [message1 v]\nchange [level v] by (1)\nswitch costume to (Level)\n\n@Player\n\nsay [Hello!]\n\nwhen flag clicked\nforever\n    if <(username) = [Insanemaster3000]> then\n        set [brightness v] effect to (0)\n        set [color v] effect to (140)\n    end\nend\n\nwhen flag clicked\nset size to (65) %\nhide\ngo to x: (-191) y: (70)\n\nwhen flag clicked\nreset timer\nset [time v] to [0]\nshow variable [time v]\nshow variable [☁ fastest time completed v]\nshow variable [level v]\nset [ghost v] effect to (0)\nset size to (60) %\nswitch costume to (idle v)\nshow\ngo to x: (-214) y: (88)\nset rotation style [left-right v]\nshow\nset [x v] to [0]\nset [y v] to [0]\nset [jump v] to [0]\nforever\n    change [y v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (left v)\n        change [x v] by (-1)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (right v)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (level v)?> then\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <mouse down?>> then\n            set [y v] to [13]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n        set [jump v] to [0]\n    end\n    change y by (-1)\n    if <<(Jump) = [0]> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <mouse down?>>> then\n        switch costume to (jump v)\n        set [y v] to [15]\n        set [jump v] to [1]\n    end\n    change y by (1)\n    if <(x position) > [240]> then\n        change [level v] by (1)\n        go to x: (-214) y: (-10)\n        change [level v] by (-1)\n        broadcast (message1 v)\n    end\n    if <touching (bad stuff v)?> then\n        broadcast (Dead v)\n        start sound [Crunch v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-206) y: (88)\n        set [y v] to [0]\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\n    if <touching (jump pads  v)?> then\n        set [y v] to [40]\n        set [jump v] to [1]\n    end\nend\n\nchange y by (1)\n\nchange y by (1)\n\nchange y by (-5)\nchange y by (1)\n\nwait (1) seconds\n\nswitch costume to (idle v)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwait (1) seconds\n\nset [level v] to [-1]\n\nwhen I start as a clone\nhide\nswitch costume to (idle v)\nif <<(username) = [Insanemaster3000]> or <(username) = [Car_OverloadZ]>> then\n    switch costume to (left2 v)\nend\ngo to (player v)\nshow\nrepeat (5)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen I receive [detection v]\nforever\n    change [color v] effect by (1)\nend\n\nwhen flag clicked\nforever\n    change [time v] by (0.1)\n    wait (.01) seconds\nend\n\nwhen flag clicked\nforever\n    \nend\n\nwhen flag clicked\ndelete all of [cool people v]\nadd [Insanemaster3000] to [cool people v]\n\n@Jump pads \n\nwhen flag clicked\nshow\nset [level v] to [1]\nswitch costume to (Level)\ngo to x: (0) y: (0)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [message1 v]\nforever\n    switch costume to (Level)\nend\n\n@Spr\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (12) seconds\nend\n\nwhen I start as a clone\ngo to [back v] layer\nshow\ngo to x: (-230) y: (pick random (110) to (160))\nrepeat until <not <touching (_edge_ v)?>>\n    change x by (2)\nend\nrepeat until <touching (_edge_ v)?>\n    change x by (2)\nend\ndelete this clone\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\nset [my variable v] to [1]\nwait (8) seconds\nset [my variable v] to [0]\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\nwhen flag clicked\nset [my variable v] to [0]\n\nwhen flag clicked\nforever\n    if <(my variable) = [1]> then\n        wait (1) seconds\n        go to x: (0) y: (0)\n        show\n        reset timer\n        switch costume to (2 v)\n        broadcast (Detection v)\n        set [ghost v] effect to (100)\n        repeat until <(timer) > [3.5]>\n            change y by ((y position) / (-15))\n            change [ghost v] effect by (-3)\n        end\n        reset timer\n        repeat until <(timer) > [3.5]>\n            change y by (((y position) - (-100)) / (-15))\n            change [ghost v] effect by (10)\n        end\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (164) y: (79)\nset [ghost v] effect to (0)\nshow\ngo to [back v] layer\nwait (8) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nforever\n    wait (30) seconds\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (8) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I receive [detection v]\nhide\n\n
Arrow keys to move\nJump over spikes and avoid dangerous traps\nClimb grass patches and jump high with jump pads\nFollow me, love and fav (Follow to get a chance to get a custom skin!) \nIf you are stuck to the ground jump!\nEnjoy\nPlay my other games NO ADVERTISING