How would i go across preventing the player from floating up in water?

I have seen a similar post on the dev forum dose this help ?