Script is not changing skybox

I have a script

while true do
	wait(10)
	game.Lighting.Rain.SkyboxBk = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxDn = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxFt = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxLf = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxRt = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxUp = "https://www.roblox.com/library/58757774/Grey"

It is supposed to change the skybox grey but it is not. Any help?

1 Like

So What do i do with that file?

How did you do that? How did you find that link
Also thx

How did you find that link? Im confused

Make the skybox your own model then go on models and right click and select copy Id to clipboard

Select the skybox. 30 charsssss

Try this Edit: mb i had to add end

while true do
	wait(10)
	game.Lighting.Rain.SkyboxBk = "http://www.roblox.com/asset/?id=58757774"
	game.Lighting.Rain.SkyboxDn = "http://www.roblox.com/asset/?id=58757774"
	game.Lighting.Rain.SkyboxFt = "http://www.roblox.com/asset/?id=58757774"
	game.Lighting.Rain.SkyboxLf = "http://www.roblox.com/asset/?id=58757774"
	game.Lighting.Rain.SkyboxRt = "http://www.roblox.com/asset/?id=58757774"
	game.Lighting.Rain.SkyboxUp = "http://www.roblox.com/asset/?id=58757774"
end

Try This

while true do
	wait(10)
	game.Lighting.Rain.SkyboxBk = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxDn = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxFt = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxLf = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxRt = "https://www.roblox.com/library/58757774/Grey"
	game.Lighting.Rain.SkyboxUp = "https://www.roblox.com/library/58757774/Grey"
end

Just added end at the end of the script. It should work now.