Advertisement
miguel1131

666

Nov 3rd, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. b = game.Lighting:GetChildren()
  2. sky = false
  3. ID = 666
  4.  
  5. for i = 1, #b do
  6. if b[i]:IsA("Sky") then
  7. b[i]:SetSkybox(ID)
  8. sky = true
  9. end
  10. end
  11. if sky == false then
  12. a = Instance.new("Sky", game.Lighting)
  13. a:SetSkybox(ID)
  14. sky = true
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement