game.Players.LocalPlayer.Humanoid.Swimming:Connect(function() game.Players.LocalPlayer.Humanoid:TakeDamage(100) end)
For some really odd reason, this script doesn't work.
game.Players.LocalPlayer.Character.Humanoid.Swimming:Connect(function() game.Players.LocalPlayer.Character.Humanoid:TakeDamage(100) end)
The player's Character
holds the Humanoid, not the Player
itself.