Skip to main content

Get

Returns a request parameter of the user. It's read-only.

Parameters:

NameTypeDescription
playerplayerThe player whose data we want to access
pathstringThe path to the user data

Returns:

NameTypeDescription
valueanyThe requested data from the path

Example:

local ServerScriptService = game:GetService("ServerScriptService")
local ProStore3 = require(ServerScriptService.ProStore3)

ProStore3.PlayerJoined:Connect(function(player : Player)
local level : number = ProStore3.Get(player, "Level")
local currency : number = ProStore3.Get(player, "Profile.Currency")

print("Level: ", level, " Currency: ", currency)
end)