Howdy.
Currently i'm writing a script that runs when a Boolvalue = true
The value is false in the beginning.
But, when i change it to true, the If ... Statement keeps thinking that the value = false, however, i changed it to true?
This is the script with malfunctions.
while true do
Active = script.Parent.Active
Busy = script.Parent.Busy
wait(1)
print(Active.Value) -- To see if he sees that the value has changed
if Active.Value == true then
wait()
if Busy.Value == false then
Busy.Value = true
wait()
repeat
wait()
FadeOnLights()
wait(2)
FadeOffLights()
wait(2)
until Active.Value == false
Busy.Value = false
end
end
wait()
end
It's probably a dumb thing to ask. But it's annoying me as hell.
Edit: The
print(Active.Value)
keeps printing it's false, however it has been changed to true. No matter if it's manualy changed or by a script.

4 comments
So whats your ultimate goal here?
So whats your ultimate goal here?
are you changing the values manually in explorer and properties panels or are you using scripts? bcz if your doing it manuaelly in explorer/properties panels then it really just changes to you visually but not the server'
Not really the right way to say that, but ya.