✨PRISON BREAK! | A platformer✨#all #games #art #music #stories #platformers
@Stage\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-91) y: (40)\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-91) y: (40)\n\nwhen backdrop switches to [backdrop11 v]\nbroadcast (end v)\n\nwhen I receive [end v]\nset [house v] to [1]\n\nwhen backdrop switches to [backdrop11 v]\nstop all sounds\nforever\n    play sound [Raining tacos parry gripp & boonebum by djlunatique v] until done\nend\n\n@Broken wall\n\nwhen this sprite clicked\nchange [times clicked v] by (1)\nif <<(has hammer) = [1]> and <(times clicked) = [1]>> then\n    switch costume to (costume2 v)\nend\nif <<(has hammer) = [1]> and <(times clicked) = [2]>> then\n    switch costume to (costume3 v)\nend\nif <<(has hammer) = [1]> and <(times clicked) = [3]>> then\n    switch costume to (costume4 v)\n    broadcast (level 2 v)\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\nshow\nset [times clicked v] to [0]\n\nwhen I receive [level 2 v]\nhide\n\nwait (5) seconds\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nshow\n\n@Hammer\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen I receive [hammer v]\nhide\nset [has hammer v] to [1]\n\nwhen flag clicked\nset [has hammer v] to [0]\ngo to x: (-1) y: (20)\nshow\n\n@Player\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-91) y: (40)\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-91) y: (40)\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-91) y: (40)\n\nwhen flag clicked\nset size to (100) %\nforever\n    if <key (a v) pressed?> then\n        walk [-7]\n    end\n    if <key (d v) pressed?> then\n        walk [7]\n    end\n    if <<key (w v) pressed?> and <(in air?) < [8]>> then\n        set [y vel v] to [14]\n    end\n    if <key (left arrow v) pressed?> then\n        walk [-7]\n    end\n    if <key (right arrow v) pressed?> then\n        walk [7]\n    end\n    if <<key (up arrow v) pressed?> and <(in air?) < [8]>> then\n        set [y vel v] to [14]\n    end\n    if <touching (hammer v)?> then\n        broadcast (hammer v)\n        switch costume to (costume5 v)\n    end\n    if <<<(x position) = [270]> or <[270] < (x position)>> and <(level) = [1]>> then\n        go to x: (-128) y: (-103)\n        next backdrop\n    end\n    if <touching (danger  v)?> then\n        go to x: (-91) y: (40)\n        start sound [roblox-death-sound_1 v]\n    end\n    if <touching (spikes1 v)?> then\n        go to x: (-91) y: (40)\n        start sound [roblox-death-sound_1 v]\n    end\n    if <touching (police v)?> then\n        go to x: (-91) y: (40)\n        start sound [roblox-death-sound_1 v]\n    end\n    if <touching (killbrick v)?> then\n        go to x: (-91) y: (40)\n        start sound [roblox-death-sound_1 v]\n    end\n    if <touching (lasers v)?> then\n        go to x: (-91) y: (40)\n        start sound [roblox-death-sound_1 v]\n    end\n    if <touching (red v)?> then\n        switch costume to (red v)\n    end\n    if <touching (blue v)?> then\n        switch costume to (blue v)\n    end\n    if <touching (purple v)?> then\n        switch costume to (purple v)\n    end\n    if <touching (green v)?> then\n        switch costume to (green v)\n    end\nend\n\nwhen flag clicked\nset [☁ time v] to [0]\nrepeat until <(house) = [1]>\n    wait (1) seconds\n    change [☁ time v] by (1)\nend\n\nwhen flag clicked\nset [house v] to [0]\nswitch backdrop to (1 v)\nrepeat until <(house) = [1]>\n    play sound [The_Kid_LAROI_-_Stay_ft_Justin_Bieber_Luvmp v] until done\nend\n\ndefine handle ground <moving up>\nrepeat until <not <touching color (#c8c8c8)?>>\n    if <moving up> then\n        change y by (-5)\n    else\n        change y by (1)\n        set [in air? v] to [0]\n    end\n    set [y vel v] to [0]\nend\n\ndefine walk (steps)\nchange x by (steps)\nset [ground lift v] to [0]\nrepeat until <<not <touching color (#c8c8c8)?>> or <(Ground Lift) = [8]>>\n    change y by (1)\n    change [ground lift v] by (1)\nend\nif <(Ground Lift) = [8]> then\n    change x by ((-1) * (steps))\n    change y by (-8)\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\nshow\ngo to x: (43) y: (94)\nset rotation style [left-right v]\nset [y vel v] to [0]\nforever\n    change [y vel v] by (-2)\n    change y by (Y vel)\n    change [in air? v] by (1)\n    handle ground <[0] < (Y vel)>\nend\n\nwhen I receive [level 2 v]\nswitch backdrop to (backdrop2 v)\nswitch costume to (costume2 v)\ngo to x: (-97) y: (30)\nset [level v] to [1]\n\nwhen flag clicked\nset [level v] to [0]\n\n\n\nwhen flag clicked\nset [crawl v] to [0]\n\nwhen flag clicked\nforever\n    if <key (z v) pressed?> then\n        set [crawl v] to [1]\n        switch costume to (costume3 v)\n    end\n    if <key (x v) pressed?> then\n        switch costume to (costume2 v)\n    end\nend\n\nset [crawl v] to [0]\n\nwhen I receive [skip v]\nswitch costume to (costume2 v)\nchange [☁ time v] by (20)\n\n@danger \n\nwhen backdrop switches to [backdrop2 v]\nshow\nset [brightness v] effect to (35)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\n@Sprite2\n\nwhen backdrop switches to [backdrop2 v]\nswitch costume to (costume1 v)\nshow\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop3 v]\nswitch costume to (costume2 v)\nshow\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (costume3 v)\nshow\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (costume4 v)\nshow\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (costume4 v)\nshow\n\nwhen backdrop switches to [backdrop8 v]\nswitch costume to (costume5 v)\nshow\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nswitch costume to (costume5 v)\nshow\n\n@spikes1\n\nwhen backdrop switches to [backdrop6 v]\nhide\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop2 v]\nswitch costume to (4 v)\nshow\n\nwhen backdrop switches to [backdrop3 v]\nswitch costume to (2 v)\nshow\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (3 v)\nshow\n\n@police\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\ngo to x: (258) y: (32)\nforever\n    switch costume to (costume3 v)\n    glide (2) secs to x: (-19) y: (32)\n    wait (0.5) seconds\n    switch costume to (costume2 v)\n    glide (2) secs to x: (258) y: (32)\n    wait (0.5) seconds\nend\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\n@killbrick\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@lasers\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (costume1 v)\nshow\nset [brightness v] effect to (50)\n\nwhen backdrop switches to [backdrop8 v]\nset [ghost v] effect to (0)\nswitch costume to (costume2 v)\nshow\n\nwhen I receive [switch v]\nchange [ghost v] effect by (25)\nwait (0.1) seconds\nchange [ghost v] effect by (25)\nwait (0.1) seconds\nchange [ghost v] effect by (25)\nwait (0.1) seconds\nchange [ghost v] effect by (25)\nhide\n\nwhen backdrop switches to [backdrop9 v]\nshow\nset [ghost v] effect to (0)\nswitch costume to (costume3 v)\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\n@Sprite3\n\nwhen backdrop switches to [backdrop6 v]\nshow\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\nshow\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop8 v]\nshow\n\nwhen this sprite clicked\nbroadcast (switch v)\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\nend\n\n@Sprite24\n\nwhen flag clicked\ngo to x: (13) y: (102)\nhide\n\nwhen backdrop switches to [backdrop7 v]\nwait (1) seconds\nshow\nglide (1) secs to x: (13) y: (34)\nwait (2) seconds\nglide (1) secs to x: (13) y: (102)\nhide\n\nwhen backdrop switches to [backdrop3 v]\nwait (1) seconds\nshow\nglide (1) secs to x: (13) y: (34)\nwait (2) seconds\nglide (1) secs to x: (13) y: (102)\nhide\n\nwhen backdrop switches to [backdrop9 v]\nwait (1) seconds\nshow\nglide (1) secs to x: (13) y: (34)\nwait (2) seconds\nglide (1) secs to x: (13) y: (102)\nhide\n\n@red\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop11 v]\nshow\n\n@blue\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop11 v]\nshow\n\n@purple\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop11 v]\nshow\n\n@green\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop11 v]\nshow\n\n@Sprite5\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\nwhen this sprite clicked\nbroadcast (skip v)\nnext backdrop\n\n
✨PRISON BREAK! - A platformer\n\nCLICK THE GREEN FLAG TWICE PPL PLS\n\nOMG #1 ON ALL #TRENDING TYSM EVERYONE!\nAND TOP LOVED!? TYSM :D\n\nFanClub https://scratch.mit.edu/studios/33803017 \nAn amazing project you NEED to check out https://scratch.mit.edu/projects/894529945/\n\n⭐===Description===⭐\n\nYou're stuck in prison and you need to escape cos prison sucks, so you break the wall and travel through a secret passageway to escape... But the question is, will you make it? (play the game to find out) ;)\n\nBtw don't advertise unless u followed (or i'll report)\n\n⭐===Credits===⭐\n-Roblox for the idea (i think the game's called escape prison obby) \n-Me @Da_coding_noob for the art and some code \n-@sammycheez for most of the code\n@Kunimaocode For helping me get this on #1 #trending :D\n-Roblox for the part where u can change colours at the end :)\n-Main song: Stay\n-End song: It's raining tacos - Idea to use the song @cinnamoroll_luvs_you :D\n-@You for viewing this project! :D\n\n⭐===Tags===⭐ (don't bother commenting about this you'll simply be wasting ur time and idc xD)\n\n#all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all #all  \n#games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games #games \n#art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art #art \n#music #music #music #music #music #music #music #music #music #music #music #music #music #music  #music #music #music #music #music #music #music #music #music #music #music #music #music #music \n#stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories #stories \n#trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending #trending \n#popular #popular #popular #popular #popular #popular #popular #popular #popular #popular \n#recent #recent #recent #recent #recent #recent \n#da_coding_noob #da_coding_noob #da_coding_noob  \n#platformer #platformer #platformer #platformer \n#platformers #platformers #platformers #platformers #platformers #platformers #platformers #platformers \n\n\n\n \n\n