Help with code for custom slider in editor x

Any help please?