Build your own platformer!

Instructions: ★★★★ ʙᴜɪʟᴅ ʏᴏᴜʀ ᴏᴡɴ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ ★★★★\n★★★ ★ ʙʏ @Game_M-A-K-E-R ★★★★\nɪɴꜱᴛʀᴜᴄᴛɪᴏɴꜱ:\nꜱʟɪᴅᴇ ᴛʜᴇ ᴠᴀʀɪᴀʙʟᴇꜱ ᴛᴏ ᴀᴅᴊᴜꜱᴛ ᴛʜᴇ ᴘʟᴀʏᴇʀ ʟᴏᴏᴋꜱ, \nᴘʀᴇꜱꜱ ɴᴇxᴛ ᴛᴏ ᴄᴏɴᴛɪɴᴜᴇ. ᴛᴀᴘ ᴏɴ ᴛʜᴇ ʙʟᴏᴄᴋ ᴛᴏ ꜱᴇʟᴇᴄᴛ ɪᴛ\nᴜꜱᴇ ᴛʜᴇ ᴍᴏᴜꜱᴇ ᴘᴏɪɴᴛᴇʀ ᴛᴏ ᴘʟᴀᴄᴇ ʙʟᴏᴄᴋꜱ\n\nɪ ʜᴏᴘᴇ ʏᴏᴜ ᴇɴᴊᴏʏ ᴛʜɪꜱ!\n\nɪꜰ ʏᴏᴜ ᴡᴀɴᴛ ᴛᴏ ᴜꜱᴇ ᴀɴʏ ᴄᴏꜱᴛᴜᴍᴇꜱ, ꜱᴏᴜɴᴅꜱ, ꜱᴘʀɪᴛᴇꜱ ᴏʀ ᴄᴏᴅɪɴɢ ꜰʀᴏᴍ ᴛʜɪꜱ ɢᴀᴍᴇ, ᴍᴀᴋᴇ ꜱᴜʀᴇ ᴛᴏ ɢɪᴠᴇ ᴍᴇ ᴄʀᴇᴅɪᴛ\n\nᴘʟᴇᴀꜱᴇ ᴄʜᴀɴɢᴇ ᴀᴛ ʟᴇᴀꜱᴛ ᴏɴᴇ ᴛʜɪɴɢ ᴡʜᴇɴ ʀᴇᴍɪxɪɴɢ\n\n#Game #Platformer #Build 

@Stage\n\nwhen I receive [lava v]\nswitch backdrop to (lava v)\n\nwhen I receive [grass v]\nswitch backdrop to (grass v)\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    play sound [Music v] until done\nend\n\n@Button grass\n\nwhen this sprite clicked\nbroadcast (Grass v)\nbroadcast (Cube editor v)\n\nwhen I receive [cube editor v]\nhide\n\nwhen flag clicked\nshow\n\nwhen this sprite clicked\nplay sound [Button clicked v] until done\n\n@Button lava\n\nwhen this sprite clicked\nplay sound [Button clicked v] until done\n\nwhen this sprite clicked\nbroadcast (Lava v)\nbroadcast (Cube editor v)\n\nwhen I receive [cube editor v]\nhide\n\nwhen flag clicked\nshow\n\n@Tiles\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (-103) y: (-134)\nhide\n\nwhen I receive [level editor v]\nshow\n\nwhen I receive [grass v]\nswitch costume to (grass v)\n\nwhen I receive [lava v]\nswitch costume to (lava v)\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\nwhen this sprite clicked\n\nwhen I start as a clone\ngo to [back v] layer\n\nwhen I start as a clone\nwait until <(Playing) = [1]>\nwait (1) seconds\nshow\n\nwhen flag clicked\nset [playing v] to [0]\n\nwhen I receive [start v]\nset [playing v] to [1]\n\nwhen I receive [start v]\nrepeat (2)\n    show\nend\nhide\n\nstop [this script v]\n\nwhen I receive [level editor v]\nwait (1) seconds\nforever\n    if <(mouse x) > [171]> then\n        if <(mouse x) < [225]> then\n            if <(mouse y) > [-167]> then\n                if <(mouse y) < [-147]> then\n                    hide\n                    stop [this script v]\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [start v]\n\nwhen flag clicked\nforever\n    wait until <mouse down?>\n    wait (0.1) seconds\n    repeat until <mouse down?>\n        go to (mouse-pointer v)\n    end\n    wait (0.1) seconds\n    wait until <mouse down?>\nend\n\n@Cube\n\nwhen flag clicked\nswitch costume to (58c5808e09e8bc1b42c77947 v)\ngo to x: (0) y: (0)\nset size to (100) %\nhide\n\nwhen I receive [cube editor v]\nshow\n\nwhen flag clicked\nforever\n    set [color v] effect to (Color of square)\nend\n\nwhen flag clicked\nhide variable [color of square v]\nhide variable [shape v]\n\nwhen flag clicked\nforever\n    switch costume to (Shape)\nend\n\nwhen I receive [cube editor v]\nshow variable [shape v]\nshow variable [color of square v]\n\nwhen I receive [level editor v]\nset size to (50) %\nhide variable [color of square v]\nhide variable [shape v]\n\nwhen flag clicked\nset [color of square v] to [0]\nset [shape v] to [1]\n\nwhen I receive [start v]\n\nwhen flag clicked\nforever\n    if <(y position) < [-170]> then\n        go to x: (-204) y: (81)\n    end\nend\n\nwhen [space v] key pressed\nbroadcast (Level editor v)\n\nwhen I receive [level editor v]\ngo to x: (-211) y: (148)\n\nwhen I receive [start v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>>> then\n        change [x v] by (1.5)\n    end\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>>> then\n        change [x v] by (-1.5)\n    end\n    set [x v] to ((X) * (0.8))\n    change x by (X)\n    if <touching (tiles v)?> then\n        change y by (1)\n        if <touching (tiles v)?> then\n            change y by (1)\n            if <touching (tiles v)?> then\n                change y by (1)\n                if <touching (tiles v)?> then\n                    change y by (1)\n                    if <touching (tiles v)?> then\n                        change y by (1)\n                        if <touching (tiles v)?> then\n                            change y by (-4)\n                            change x by ((X) * (-1))\n                            if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n                                set [y v] to [9]\n                                if <(X) > [0]> then\n                                    set [x v] to [-20]\n                                else\n                                    set [x v] to [20]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Y)\n    if <touching (tiles v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (tiles v)?> then\n        if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>>> then\n            set [y v] to [9]\n        end\n    else\n        change [y v] by (-0.5)\n    end\nend\n\n@Pixk your platofrms\n\nwhen I receive [cube editor v]\nhide\n\nwhen flag clicked\nshow\n\n@edit square\n\nwhen this sprite clicked\nplay sound [Button clicked v] until done\n\nwhen flag clicked\nswitch costume to (58c5808e09e8bc1b42c77947 v)\ngo to x: (0) y: (60)\nset size to (100) %\nhide\n\nwhen I receive [cube editor v]\nshow\n\nwhen I receive [start v]\n\nwhen flag clicked\nforever\n    if <(y position) < [-170]> then\n        go to x: (-204) y: (81)\n    end\nend\n\nwhen I receive [level editor v]\ngo to x: (-211) y: (60)\nhide\n\nwhen I receive [start v]\n\n@text\n\nwhen flag clicked\nhide\n\nwhen I receive [level editor v]\nshow\nwait (7) seconds\nhide\n\nwhen I receive [start v]\n\nwhen I receive [grass v]\nswitch costume to (grass v)\n\nwhen I receive [lava v]\nswitch costume to (lava v)\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (0)\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Next\n\nwhen this sprite clicked\nplay sound [Button clicked v] until done\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    broadcast (Level editor v)\n    switch costume to (2 v)\nelse\n    broadcast (Start v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [cube editor v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [playing v] to [1]\n    else\n        set [playing v] to [0]\n    end\nend\n\nwhen I receive [start v]\nhide\n\n@Cloud_PNG_Clip-Art_Image\n\nwhen flag clicked\nhide\n\nwhen I receive [cube editor v]\ncreate clone of (_myself_ v)\nCloyd stuff\n\ndefine Cloyd stuff\nforever\n    go to x: (273) y: (104)\n    hide\n    wait (pick random (1) to (2)) seconds\n    show\n    repeat until <(x position) < [0]>\n        change x by (pick random (-0.4) to (-1))\n    end\n    repeat until <touching (_edge_ v)?>\n        change x by (pick random (-0.4) to (-1))\n    end\nend\n\nwhen flag clicked\ndelete this clone\n\nwhen I start as a clone\nCloyd stuff\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n