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.

Properties

Value

Read Parallel

Methods

Events

Changed

Parameters

value: boolean

Code Samples

BoolValue.Changed

local boolValue = script.Parent.BoolValue
local function printValue(value)
print(value)
end
boolValue.Changed:Connect(printValue)
boolValue.Value = true