replica:SetValues(path: Path, values: { [string]: any }): void

Server Only

Merges a dictionary of key-value pairs into the table found at path, in a single mutation. Useful for updating several sibling fields at once without one SetValue call per field.

Parameters

path*
Path
Path to the table to merge into. Use {} to target the root Data table.
values*
{ [string]: any }
Dictionary of fields to overwrite at that path.

Returns

voidNo return value.
replica:SetValues({}, {
    Level = replica.Data.Level + 1,
    XP = 0,
})