--//Controller//--

Humanoid:GetPropertyChangedSignal("FloorMaterial"):Connect(function()
	local FloorMaterial = Humanoid.FloorMaterial
	
	if FloorMaterial == Enum.Material.Water then
		Humanoid:TakeDamage(Humanoid.MaxHealth)
		
	end
end)
