Advertisement
BNutty07

DX

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