I am Currently Working on just making a player swim without terrain water, however it doesn’t seem to work properly and the character just sinks rapidly.
local humanoid = script.Parent.Humanoid
Help would be appreciated.
The issue was so simple. Every time I set the Humanoid state type to Swimming, it got set to GettingUp immediately after. Here’s the finished code to prevent future scripters from struggling with this:
local Sea = workspace.Sea --Directory of the water part
local RS = game:GetService("RunService")
local Character = script.Parent
local Humanoid = Character:WaitForChild("Humanoid")
local Root = Character:WaitForChild("HumanoidRootPart")
Here you go. I think Swimming state only changes your animation, and the terrain water is another whole script. As stated in the post above, you should use BodyVelocity to control your movements in your non-terrain water.
Ah, thank you, i’ll give it a shot