Sorry it lags, but it is still acomplishable and easy.
This is my first platformer so I looked at the code of other platforms all over scratch to get help.