I’m having a problem with my bool values in a script.
I made my script so it checks or the values are true so the line of code can run.
But here’s my problem the script only runs if the value is true when i go test it and not after I change it
-- wait(4) local check1 = script.Parent.Parent.Lock.Lock.Unlock.Value local check2 = script.Parent.Parent.Lock2.Lock.Unlock.Value local plank = script.Parent if check1 == true and check2 == true then plank.Color = Color3.new(0.388235, 1, 0.294118) end
I added clickdetectors in a part so the value changes from false to true and when it works the part becomes green