Need Help with Preloader code Editor X

Is there any other way to create a preloader in editor x?