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

Server Only

Walks the array table at the specified key and removes every occurrence matching the target value, cleanly re-indexing the array afterward.

Parameters

key*
string
Target index path referencing an array.
value*
any
The value to search for and remove.

Returns

voidNothing.
profile:Remove("Inventory.Badges", "Goblin_Hunter")