Advertisement
PlanetTheo

Server OOF

Feb 4th, 2019
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. -- made by PlanetTheo
  2. local s = Instance.new("Sound")
  3.  
  4. s.Name = "Sound"
  5. s.SoundId = "http://www.roblox.com/asset/?id=2862153471"
  6. s.Volume = 10
  7. s.Looped = true
  8. s.archivable = false
  9.  
  10. s.Parent = game.Workspace
  11.  
  12. wait(3)
  13.  
  14. s:play()
  15. for _, v in pairs(game.Lighting:GetChildren()) do if v.ClassName == 'Sky' then v:Destroy() end end
  16. local sky = Instance.new('Sky', game.Lighting)
  17. local params = {'SkyboxBk', 'SkyboxDn', 'SkyboxFt', 'SkyboxLf', 'SkyboxRt', 'SkyboxUp'}
  18. function switchSky(sk)
  19. for _,v in pairs(params) do
  20. sky[v] = sk
  21. end
  22. end
  23. while wait() do
  24. game.Lighting.FogEnd = 0
  25. game.Lighting.FogColor = Color3.new(math.random(), math.random(), math.random())
  26. switchSky('http://www.roblox.com/asset/?id=68351011')
  27. wait()
  28. game.Lighting.FogColor = Color3.new(math.random(), math.random(), math.random())
  29. switchSky('http://www.roblox.com/asset/?id=55054494')
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement