while true do local o=game.Players.LocalPlayer local A=script.RainSound wait(math.random(10,20))local P=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local c=game.Workspace.Terrain.Clouds local G={}G.Density=1 G.Cover=1 A:Play()local T=TweenInfo.new(5)local B=P:Create(c,T,G)B:Play()o.PlayerGui.Rain.Disabled=false wait(math.random(10,10))local Z=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local E=game.Workspace.Terrain.Clouds local O={}O.Density=1 O.Cover=.5 A:Stop()local v=TweenInfo.new(5)local H=Z:Create(E,v,O)H:Play()o.PlayerGui.Rain.Disabled=true end
-- Put this in StarterPlayer > StarterPlayerScripts

while true do
	local player = game.Players.LocalPlayer
	local sound = script.RainSound
	wait(math.random(10, 20))

	local TweenService = game:GetService("TweenService")

	local part = game.Workspace.Terrain.Clouds

	local goal = {}
	goal.Density = 1
	--change this to how dense you want the clouds to be
	goal.Cover = 1
	--change this to how much the clouds cover the sky
	sound:Play()
	local tweenInfo = TweenInfo.new(5)
	--change the 5 to how long you want the transition to happen

	local tween = TweenService:Create(part, tweenInfo, goal)

	tween:Play()
	player.PlayerGui.Rain.Disabled = false
	wait(math.random(10, 10))
	local TweenService = game:GetService("TweenService")

	local part = game.Workspace.Terrain.Clouds

	local goal = {}
	goal.Density = 1
	--change this to how dense you want the clouds to be
	goal.Cover = 0.5
	--change this to how much the clouds cover the sky
	sound:Stop()
	local tweenInfo = TweenInfo.new(5)
	--change the 5 to how long you want the transition to happen

	local tween = TweenService:Create(part, tweenInfo, goal)

	tween:Play()
	player.PlayerGui.Rain.Disabled = true
end
