I am trying to make it so the script changes the textures of the skybox. When I try, it does nothing. Here is the code below.
game.Lighting.Sky.SkyboxBk = "rbxassetid://225469345"
game.Lighting.Sky.SkyboxDn = "rbxassetid://225469349"
game.Lighting.Sky.SkyboxFt = "rbxassetid://225469359"
game.Lighting.Sky.SkyboxLf = "rbxassetid://225469364"
game.Lighting.Sky.SkyboxRt = "rbxassetid://225469372"
game.Lighting.Sky.SkyboxUp = "rbxassetid://225469380"
2 Likes
Is this a LocalScript or a server script and is this the full script?
1 Like
kexy123
(kexy123)
February 3, 2024, 11:25pm
3
Can you provide more details? Such as what type of script it is and where the script is in the game?
It is a full script. What I am intending is for the script to change the properties of one skybox to something else to change the appearance of the sky without needing a million different skyboxes for if I want to have more.
I tried it and it worked for me.
It’s a normal Script and it is in the Workspace
Try putting it in ServerScriptService, I tried there and it worked.
1 Like