BoolValue
Show Deprecated
An instance which is used to hold a boolean value. The value can be used for many things, including to communicate between scripts.
Summary
Properties
Used to hold a boolean value.
Events
Fired whenever the BoolValue.Value of the BoolValue is changed.
Properties
Value
Methods
Events
Changed
Parameters
Code Samples
BoolValue.Changed
local boolValue = script.Parent.BoolValue
local function printValue(value)
print(value)
end
boolValue.Changed:Connect(printValue)
boolValue.Value = true