The way it's done in the screenshot — there's a Human entity that's riding the player. The Human entity's scale is set to 0.01. But there's a problem with removing the Human rider when the player leaves the server. You may experience crashes during disconnect.