OwlProfile:Set(key: string, value: any)

Server Only

Updates a target key index location path with a new value. Automatically supports dot notation paths and updates any registered state observers instantly.

Parameters

key*
string
Data index lookup identifier pathway string.
value*
any
The new data state value to store.

Returns

voidNothing.
profile:Set("Stats.Level", 50)