HumanoidChangeState(Swimming)

I want the player to change the humanoid state once a part called water is touched. Roblox says changing the state to water will make the player automatically get up, what do I do? I just want the player to swim in a block like in TerrainWater.

1 Like

Just try it and send a video. I need to see whats actually happening.

actually this post is better. The situation is solved, yet how would I make the script work if I put it inside the part? I feel like it can be a lot easier

I’m unsure since you deleted your reply. But yeah good luck with that.

That’s very easy to do. Just put it in a RenderStepped loop.

so you dont know how to do it?

How to create terrain water behavior, without terrain water sorry I forgot to include this post