Coconut Platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Kevin_MacLeod_-_Beach_Party.mp3 v] until done\nend\n\nwhen I receive [reset v]\nset [music v] to [0]\nstop all sounds\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@Coconuts\n\nwhen I start as a clone\ngo to x: (Target) y: (240)\nglide (1) secs to x: (Target) y: (-180)\ndelete this clone\n\nwhen flag clicked\nforever\n    turn right (15) degrees\nend\n\nwhen flag clicked\nforever\n    if <touching (monkey v)?> then\n        switch costume to (coconut-fruit-cartoon-vector-23981227 v)\n        broadcast (table v)\n        play sound [Children_Yay_-_Sound_Effect\[Mp3Converter.net\].mp3 v] until done\n    end\nend\n\nwhen flag clicked\nswitch costume to (coconut-7748636_1280 v)\n\nwhen I receive [table v]\nadd (username) to [who has completed this game? v]\n\nwhen flag clicked\nforever\n    if <[who has completed this game? v] contains [Mariominecraftpup]?> then\n        broadcast (I AM PLAYING v)\n    end\nend\n\nwhen I receive [i am playing v]\nset [color v] effect to (1)\n\nwhen I receive [reset v]\nswitch costume to (coconut-7748636_1280 v)\n\nwhen I receive [rain v]\nforever\n    set [target v] to (pick random (-240) to (240))\nend\n\nwhen I receive [rain v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    turn right (15) degrees\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <touching (monkey v)?> then\n        broadcast (completed v)\n    end\nend\n\n@Green Flag\n\nwhen this sprite clicked\nbroadcast (reset v)\n\n@Platform2\n\nwhen I receive [completed v]\nwait (1) seconds\nswitch costume to (costume2 v)\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Platform3\n\nwhen I receive [completed v]\nwait (2) seconds\nswitch costume to (costume2 v)\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Monkey\n\nwhen flag clicked\nforever\n    change [y v] by (-0.30)\n    if <key (right arrow v) pressed?> then\n        switch costume to (costume1 v)\n        change [x v] by (0.7)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (costume2 v)\n        change [x v] by (-0.7)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <<touching color (#361010)?> or <touching color (#361010)?>> then\n        change y by (1)\n        if <<touching color (#361010)?> or <touching color (#361010)?>> then\n            change y by (1)\n            if <<touching color (#361010)?> or <touching color (#361010)?>> then\n                change y by (1)\n                if <<touching color (#361010)?> or <touching color (#361010)?>> then\n                    change y by (1)\n                    if <<touching color (#361010)?> or <touching color (#361010)?>> then\n                        change y by (1)\n                        if <<touching color (#361010)?> or <touching color (#361010)?>> then\n                            change x by ((X) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-8]\n                                else\n                                    set [x v] to [8]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Y)\n    if <<touching color (#361010)?> or <touching color (#ff0000)?>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#361010)?> or <touching color (#ff0000)?>> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [7.5]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching (coconuts v)?> then\n        say [Thank you!] for (2) seconds\n    end\nend\n\nwhen flag clicked\nsay [Help me get to the coconut, it has bananas inside!] for (2) seconds\n\nwhen flag clicked\ngo to x: (-211) y: (-122)\n\nwhen flag clicked\nwait until <touching (coconut palm tree v)?>\nchange y by (200)\n\nwhen [up arrow v] key pressed\n\ndefine Hi\n\nwhen flag clicked\nHi\n\nwhen [n v] key pressed\nswitch costume to (monkey2-a v)\nset [music v] to [1]\n\nwhen [a v] key pressed\nset [music v] to [0]\n\nwhen flag clicked\nswitch costume to (monkey2-a v)\n\nwhen flag clicked\nswitch costume to (monkey2-a v)\n\nwhen flag clicked\nforever\n    if <touching (coconuts v)?> then\n        switch costume to (coconut-fruit-cartoon-vector-23981227 v)\n        broadcast (table v)\n        play sound [Children_Yay_-_Sound_Effect\[Mp3Converter.net\].mp3 v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (coconuts v)?> then\n        broadcast (completed v)\n    end\nend\n\nwhen I receive [message1 v]\nset [y spawn v] to [-132]\nset [x spawn v] to [-211]\nset [ball: y v] to [0]\nset [ball: x v] to [0]\nshow\nset size to (40) %\ngo to x: (X spawn) y: (Y spawn)\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        play sound [smb_jump-small v] until done\n    end\nend\n\n@Coconut Palm Tree\n\nwhen flag clicked\nforever\n    if <touching (monkey v)?> then\n        play sound (pick random (1) to (16)) until done\n    end\nend\n\nwhen flag clicked\nwait until <touching (monkey v)?>\nchange [touched palm tree? v] by (1)\nstop [this script v]\n\nchange y by (200)\n\n@Table\n\nwhen flag clicked\nhide\n\nwhen I receive [table v]\nshow\n\nwhen flag clicked\nforever\n\nwhen I receive [reset v]\nhide\n\n@Button3\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (button3-b v)\n    else\n        switch costume to (button3-a v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (button3-a v)\n\nwhen this sprite clicked\nbroadcast (rain v)\n\n@Platform1\n\nwhen I receive [completed v]\nswitch costume to (costume2 v)\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n
Help the monkey get to the coconut!\nGet this featured!\nGet this to 3000 views