replica:GetData(path: Path): any
Server & ClientConvenience read helper that resolves a path inside replica.Data without a manual traversal. Available on both server and client.
Parameters
path*Path | Path to read. |
Returns
anyThe value found at path, or nil if the path doesn't resolve.
local gold = replica:GetData({"Gold"})