Is it possible to load/unload Roblox terrain water via script?

Howdy!
Is it possible to load/unload Roblox terrain water via script? I am looking forward to making a sea type of game that involves tons of Roblox terrain water and I want the game to be playable on mobile as well. The map is really big with mostly water and I want to manually load/unload terrain water as the players drive in the sea. I know Roblox does that automatically if you have lower graphic settings but I feel like it doesn’t make that much of a difference. If it isn’t possible, are other ways I can work around this other than using part water?

Thanks!

1 Like

You can use Terrain:ReplaceMaterial to load and unload the water, but this approach has a significant downside. Not only is it slow in general, it is also server-sided. The memory cost of this approach scales with the amount of players that you have in your server.