So I'm fairly new to scripting just started about a month ago and I was playing this game which had floods and droughts and I'm making a survival game which has seasons for example the rainy season where there's a lot of rain therefore the water level in the game increases and then there's also droughts which change the terrain color from green to tannish which will reduce the water level making certain areas of the map have no water. So ive got the changing the terrain color part but I'm stuck on how to reduce the water levels any scripts or a basis of what I should do? Thanks!
COMMUNITY QUESTION
How do i make a script that reduces the water level in the game?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
https://developer.roblox.com/en-us/articles/Scripting-With-Terrain
Read through that it should have the answer you are looking for
Ok so that helped me out but now but how do i loop it so it switches back after a certain amount of time. Heres the script game.Workspace.Terrain:FillBlock(game.Workspace.Drought.CFrame, game.Workspace.Drought.Size, Enum.Material.Water) and also game.Workspace.Terrain:FillBlock(game.Workspace.Rainy.CFrame, game.Workspace.Rainy.Size, Enum.Material.Water)