Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make a script that reduces the water level in the game?

Asked by 4 years ago
Edited 4 years ago

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!

0
Read through that it should have the answer you are looking for deth836231 142 — 4y
0
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)                                              CryightUchiha 0 — 4y

Answer this question