How to create terrain water behavior, without terrain water

The code I wrote is very basic. The part is considered “sea level”, which means the player will be able to swim anywhere under the part’s Y coordinate. The whole purpose of the script is to create an infinite sea, something that terrain didn’t allow and came nowhere near in performance. However, for your purpose, the script can be modified by using the ZonePlus module. What you would do is remove the parts that use the “water part” and make use of the “localPlayerEntered” event of ZonePlus.

3 Likes