Yuari
Documentation
Docs/Reflection/getbspval

getbspval

Reads a hidden BinaryString property, optionally Base64-encoded.

Syntax

getbspval(instance: Instance, property: string, encode?: boolean) -> any

Parameters

ParameterTypeDescription
instanceInstanceInstance containing the hidden BinaryString property.
propertystringName of the BinaryString property.
encode?booleanWhen true, returns the value Base64-encoded.

Returns

TypeDescription
anyThe raw BinaryString value, or its Base64 representation.

Description

getbspval reads a hidden BinaryString property through the reflection layer, temporarily relaxing the property flags while the value is read.

Pass true as the third argument to receive a Base64 string instead of the raw bytes.

Example

local value = getbspval(workspace.Baseplate, "PhysicalConfigData", true)
print(type(value))

Notes

  • Reflection reads live property metadata; hidden-property writes can desynchronise client state.
  • The property must exist and contain BinaryString data.