I am trying to read a boolValue from outside the script, but when I try to read it studio will crash when I try to test it and nothing works in play. I have tried adding wait times before accessing the value, but it still did not work.
boolValue = script.Parent.InputBox.boolValue
--later in script:
if boolValue == true then
--run functions
else
--other stuff
end

1 comment
Also, he needs to do boolValue.Value for where boolValue is later in the script, otherwise it will always return true if the boolValue exists.