I had created this simple clouds script which is supposed to add the cover of the clouds until it reaches 0.8, and then print finished. There is no errors in the output as well. Please help.
repeat
game.Workspace.Terrain.Clouds.Cover += 0.005
wait(0.1)
until game.Workspace.Terrain.Clouds.Cover == 0.8
print("finished")
I figured out it slightly goes higher than 0.8, so it will keep adding on the cover since it never exactly was 0.8. Simply make the script check if it is higher than 0.8.
I put this script in ServerScriptService. A common mistake you might actually be doing is putting the clouds inside of lighting. For some intellectual reason I will never know, you have to place the clouds in terrain, which is inside of workspace. If it is still not working, go on the article about dynamic clouds and see if there is any problems you might be having there: Dynamic Clouds. Hope this helps!