Platformer Script
@Stage\n\nwhen flag clicked\nforever\n    play sound [Sneaky Snitch v] until done\nend\n\n@USE DIS\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [yv v] to [0]\ngo to x: (-198) y: (-45)\nset size to (20) %\nforever\n    Physics\nend\n\ndefine Physics\nif <key (right arrow v) pressed?> then\n    change [xmovement v] by (1.56)\nelse\n    if <key (left arrow v) pressed?> then\n        change [xmovement v] by (-1.56)\n    end\nend\nset [xmovement v] to ((Xmovement) * (0.8))\nchange x by (Xmovement)\nchange [yv v] by (-1.2)\nrepeat (10)\n    if <touching color (#1cff00)?> then\n        change y by (1)\n    end\nend\nif <touching color (#1cff00)?> then\n    change x by ((Xmovement) * (-1))\n    change y by (-9)\n    if <key (up arrow v) pressed?> then\n        set [yv v] to [10]\n        if <(Xmovement) > [0]> then\n            set [xmovement v] to [-9]\n        else\n            set [xmovement v] to [9]\n        end\n    else\n        set [xmovement v] to [0]\n    end\nend\nchange y by (Yv)\nif <touching color (#1cff00)?> then\n    change y by ((Yv) - ((Yv) * (2)))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> and <touching color (#1cff00)?>> then\n    set [yv v] to [15]\nend\nif <touching color (#ff0000)?> then\n    go to x: (-198) y: (-45)\nend\n\n@DONT USE DIS EITHER\n\nwhen flag clicked\nshow\nshow\ngo to x: (0) y: (0)\nhide\n\n
Heres a Free Platformer Script!\n\nAdvantages-=-=-=-=-=-=-=-=--=-==-=-=-=-=-=-=-=-=-=-\n-Glitch Free\n-Walljump\n-Easy to add to your projects\n-Simple\n-Smooth