Answered by
4 years ago Edited 4 years ago
Hello, MrAwesomeOwl_47! I think I found out why your script isn't working.
You cannot check if the value has changed by doing: "game.Lighting.skyColor3.Value.Changed"
There's 2 ways to see if the value has changed the second one is a bit harder and I think it would be better for you to use the first way so I'm only going to show you the first way.
In the first way you can only check when the skyColor3 has changed not the skyColor3.Value has changed, what this means is the function will be fired when any property in the value changes. But the script will still work perfectly.
Here's the script:
1 | function changeSkyColor() |
2 | script.Parent.Color = game.Lighting.skyColor 3. Value |
5 | game.Lighting.skyColor 3. Changed:Connect(changeSkyColor) |
I've tested it so it should perfectly!
Hope this can help! Good luck! :)