this script will print the value everytime it changes, in your script you set the value to true so it is changed, it will print true, then you set it to false, this means the value changed again, it will print false.
i checked your script again, you have a boolValue1 and BoolValue2, i saw it new, sorry for bad response.
You should have just tested the snippet, it outputs ‘false’ (as the assignment occurs after the event/signal is fired).
local Workspace = workspace
local Value = Workspace.Value --Both false initially.
local Value2 = Workspace.Value2
local function OnChanged()
print(Value2.Value) --false
end
Value.Changed:Connect(OnChanged)
Value.Value = true
Value2.Value = true