PlayerObject
The PlayerObject is a class that gets returned when calling the GetPlayer function.
All the functions showed above should be inherited into the playerObject allowing you to use that at any point.
Tip
The PlayerObject is specially useful when modifying multiple elements in the player's data.
local ServerScriptService = game:GetService("ServerScriptService")
local ProStore3 = require(ServerScriptService.ProStore3)
ProStore3.PlayerJoined:Connect(function(player : Player)
local playerObject : ProStore3.PlayerObject = ProStore3.GetPlayer(player)
local level : number = playerObject:Get("Level")
print("Level, ", level) -- 1
playerObject:Set("Level", 3)
print(playerObject:Get("Level")) -- 3
playerObject:Increment("Level", 2)
print(playerObject:Get("Level")) -- 2
end)