Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sky = Instance.new("Sky",game:GetService("Lighting"))
- sky.SkyboxBk = "http://www.roblox.com/asset/?id=15038203539"
- sky.SkyboxFt = "http://www.roblox.com/asset/?id=15038203539"
- sky.SkyboxLf = "http://www.roblox.com/asset/?id=15038203539"
- sky.SkyboxRt = "http://www.roblox.com/asset/?id=15038203539"
- sky.SkyboxUp = "http://www.roblox.com/asset/?id=15038203539"
- -- Function to turn a BasePart into glass
- local function turnIntoGlass(part)
- part.Material = Enum.Material.Glass
- end
- -- Get all BaseParts in the workspace
- local baseParts = game.Workspace:GetDescendants()
- for _, part in ipairs(baseParts) do
- if part:IsA("BasePart") then
- turnIntoGlass(part)
- end
- end
- local lighting = game:GetService("Lighting")
- lighting.ClockTime = 12 -- Set the ClockTime to a fixed value to remove the day cycle
- lighting:GetPropertyChangedSignal("ClockTime"):Connect(function()
- lighting.ClockTime = 12 -- Continuously reset the ClockTime to maintain a fixed value
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement