Skip to content

GetSavedData

A value the mode saved on the player’s name.

GetSavedData(pid, key)
Parameter Type
pid number the player
key string the key

string | nil

local wins = tonumber(GetSavedData(pid, "wins")) or 0

SetSavedData · GetSavedPlayer · the Storage and persistence group of the index