FogEnd automatic changes itself to 0?

(I don’t know if this is the right topic to post this on)

While I was making a weather changing system, I wanted to change the FogEnd and FogStart values to make a snowy environment. I used tween service to change the values smoothly, but the FogEnd value sets itself to 0 after the tween is done.

I have no idea what causes this, but when I manually change my FogEnd value in testing, the FogEnd value doesn’t change itself.

Video of the change in action:

Try showing the code maybe?


Where’s the code?
We can’t help you without you showing the code
Also move this to #help-and-feedback:scripting-support