Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

Detect if a player's head is touching water?

Asked by 9 years ago

Is it possible to detect if a player's head is in contact with smooth terrain water? Example:

if player.LocalPlayer.Head:Touched(Water) then
player.LocalPlayer.Main.Mask.Visible = true
if not player.LocalPlayer.Head:Touched(Water) then
player.LocalPlayer.Main.Mask.Visible = false
end
end

Answer this question