Skip to main content

Argumenty

Instance
wymagane
Instance object whose property should be written. Invalid Instance values raise an argument error.
string
wymagane
Property name resolved with Roblox property metadata and the Instance class descriptor.
any
wymagane
Value to write. The accepted value type depends on the resolved reflection type.

Zwroty

boolean | nil
Boolean equal to !IsScriptable() before a successful write, or nil when no property descriptor exists.

Przykład

Set a property value even when normal script access is limited.