Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mess = Instance.new("Message")
- mess.Parent = game.Workspace
- mess.Text = "Loading Twinmold's Storm System... Please wait..."
- wait(1)
- storm_sound = Instance.new("Sound")
- storm_sound.Name = "Thunder"
- storm_sound.SoundId = "http://www.roblox.com/asset/?id=12222030"
- storm_sound.Pitch = 0.5
- storm_sound.Parent = game.Workspace
- storm_sound.Volume = 1
- wait(1)
- local sky = Instance.new("Sky")
- sky.Parent = game.Lighting
- sky.Name = "Sky"
- sky.SkyboxBk = "rbxassetid://246480323"
- sky.SkyboxDn = "rbxassetid://246480523"
- sky.SkyboxFt = "rbxassetid://246480105"
- sky.SkyboxLf = "rbxassetid://246480549"
- sky.SkyboxRt = "rbxassetid://246480565"
- sky.SkyboxUp = "rbxassetid://246480504"
- --[[ DO NOT CHANGE THE SKY BOX PIECES UNLESS YOU KNOW WHAT YOU ARE DOING!!!
- http://www.roblox.com/asset/?id=14274957 -- http://www.roblox.com/asset/?id=14275774 -- http://www.roblox.com/asset/?id=14275781
- http://www.roblox.com/asset/?id=14275423
- http://www.roblox.com/asset/?id=14275232 -- http://www.roblox.com/asset/?id=14276946 -- http://www.roblox.com/asset/?id=14276954
- http://www.roblox.com/asset/?id=14275347 -- http://www.roblox.com/asset/?id=14277218 -- http://www.roblox.com/asset/?id=14277230
- http://www.roblox.com/asset/?id=14275129 -- http://www.roblox.com/asset/?id=14276163 -- http://www.roblox.com/asset/?id=14276174
- http://www.roblox.com/asset/?id=14275410 -- http://www.roblox.com/asset/?id=14277404 -- http://www.roblox.com/asset/?id=14277409
- ]]
- wait(1)
- mess:Remove()
- ----------------------------------------------------------------------
- --------- This is the options of the Storm System. ---------
- ----------------------------------------------------------------------
- Visibility = 3 -- How well the players will be able to see
- Type = 1 -- The type of varity of lightning strikes
- Timing = 1 -- The (lowest) time lightning will strike
- Timing2 = 10 -- The longest time lighting will strike
- ----------------------------------------------------------------------
- --- If you are using Type 2, then set Timing >= 5 ----
- ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- if Visibility == 1 then
- game.Lighting.Ambient = Color3.new(239, 239, 239)
- elseif Visibility == 2 then
- game.Lighting.Ambient = Color3.new(179, 179, 179)
- elseif Visibility == 3 then
- game.Lighting.Ambient = Color3.new(112, 112, 112)
- else
- print("Not changing Ambient...")
- end
- game.Lighting.Brightness = 0
- if Type == 1 then
- while true do
- local Timer = math.random(Timing, Timing2)
- local Where = math.random(1, 5)
- wait(Timer)
- if Where == 1 then
- game.Lighting.Sky.SkyboxBk = "http://www.roblox.com/asset/?id=14275774"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxBk = "http://www.roblox.com/asset/?id=14275781"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxBk = "http://www.roblox.com/asset/?id=14275774"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxBk = "http://www.roblox.com/asset/?id=14274957"
- game.Lighting.Brightness = 0
- elseif Where == 2 then
- game.Lighting.Sky.SkyboxRt = "http://www.roblox.com/asset/?id=14276163"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxRt = "http://www.roblox.com/asset/?id=14276174"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxRt = "http://www.roblox.com/asset/?id=14276163"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxRt = "http://www.roblox.com/asset/?id=14275129"
- game.Lighting.Brightness = 0
- elseif Where == 3 then
- game.Lighting.Sky.SkyboxFt = "http://www.roblox.com/asset/?id=14276946"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxFt = "http://www.roblox.com/asset/?id=14276954"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxFt = "http://www.roblox.com/asset/?id=14276946"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxFt = "http://www.roblox.com/asset/?id=14275232"
- game.Lighting.Brightness = 0
- elseif Where == 4 then
- game.Lighting.Sky.SkyboxLf = "http://www.roblox.com/asset/?id=14277218"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxLf = "http://www.roblox.com/asset/?id=14277230"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxLf = "http://www.roblox.com/asset/?id=14277218"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxLf = "http://www.roblox.com/asset/?id=14275347"
- game.Lighting.Brightness = 0
- elseif Where == 5 then
- game.Lighting.Sky.SkyboxUp = "http://www.roblox.com/asset/?id=14277404"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxUp = "http://www.roblox.com/asset/?id=14277409"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxUp = "http://www.roblox.com/asset/?id=14277404"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxUp = "http://www.roblox.com/asset/?id=14275410"
- game.Lighting.Brightness = 0
- end
- end
- end
- if Type == 2 then
- while true do
- local Where = math.random(1, 5)
- wait(Timing)
- if Where == 1 then
- game.Lighting.Sky.SkyboxBk = "http://www.roblox.com/asset/?id=14275774"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxBk = "http://www.roblox.com/asset/?id=14275781"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxBk = "http://www.roblox.com/asset/?id=14275774"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxBk = "http://www.roblox.com/asset/?id=14274957"
- game.Lighting.Brightness = 0
- elseif Where == 2 then
- game.Lighting.Sky.SkyboxRt = "http://www.roblox.com/asset/?id=14276163"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxRt = "http://www.roblox.com/asset/?id=14276174"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxRt = "http://www.roblox.com/asset/?id=14276163"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxRt = "http://www.roblox.com/asset/?id=14275129"
- game.Lighting.Brightness = 0
- elseif Where == 3 then
- game.Lighting.Sky.SkyboxFt = "http://www.roblox.com/asset/?id=14276946"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxFt = "http://www.roblox.com/asset/?id=14276954"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxFt = "http://www.roblox.com/asset/?id=14276946"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxFt = "http://www.roblox.com/asset/?id=14275232"
- game.Lighting.Brightness = 0
- elseif Where == 4 then
- game.Lighting.Sky.SkyboxLf = "http://www.roblox.com/asset/?id=14277218"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxLf = "http://www.roblox.com/asset/?id=14277230"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxLf = "http://www.roblox.com/asset/?id=14277218"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxLf = "http://www.roblox.com/asset/?id=14275347"
- game.Lighting.Brightness = 0
- elseif Where == 5 then
- game.Lighting.Sky.SkyboxUp = "http://www.roblox.com/asset/?id=14277404"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxUp = "http://www.roblox.com/asset/?id=14277409"
- game.Lighting.Brightness = 1
- game.Workspace.Thunder:Play()
- wait(0.05)
- game.Lighting.Sky.SkyboxUp = "http://www.roblox.com/asset/?id=14277404"
- game.Lighting.Brightness = 0.5
- wait(0.05)
- game.Lighting.Sky.SkyboxUp = "http://www.roblox.com/asset/?id=14275410"
- game.Lighting.Brightness = 0
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement