Is there a way to remove the effects of the default Roblox water?

Is there a way to completely remove the effects of Roblox water on the character?

I don’t mess around with physics too much, and don’t want the default Roblox water to interfere with my swimming system with buoyancy and drag etc.

2 Likes

Yes that’s possible. Paste this in a local script in StarterCharacterScripts

local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")

humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, false)

local customProperties = PhysicalProperties.new(20, .3, .5, 1, 1)

for _, bodyPart in character:GetDescendants() do
	if bodyPart:IsA("BasePart") then
		bodyPart.CustomPhysicalProperties = customProperties
	end
end

it disables the Swimming state preventing the player from swimming and it changes the density of all bodyparts to make sure you don’t float.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.