[SOLVED] Putting it in StarterGui.
I found this script where you can't swim in terrain water
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:wait()
local hum = char:WaitForChild("Humanoid")
hum:SetStateEnabled(Enum.HumanoidStateType.Swimming, false)
It works, but whenever I reset, it doesn't work anymore. Any help?

1 comment
where is this localscript located ?