How to make a walk on water script?

Hello, I’m here with you today because I’m wondering on how I can make a walk on water script that can work when you press a keybind and it can float you on the surface of a sea level biome. If anyone has a way of doing this please let me know.

A way is to do what MadCity did, create a part at the top of water (terrain water?) then enable collision when the requirements are met.

1 Like

I’d suggest performing Humanoid:SetStateEnabled("Swimming", false) on the client.

1 Like

I don’t think the OP will need to do that since they want the character to walk on top of the water, so being below the surface won’t be what they need.

Even if you clip terrain water your humanoid’s state will be changed to ‘Swimming’, hence the suggestion.

I think that happened if the HumanoidRootPart’s center was below the surface, although that may have changed.