PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

Player:SaveBoolean

Player:SaveBoolean

Oct 01 2018, 2:03 AM PST

The below example would save a boolean to the player with a key of “HasPlayed” and a value of true.

game.Players.PlayerAdded:Connect(function(Player)
    if Player:WaitForDataReady() then
        Player:SaveBoolean("HasPlayed", true) 
    end
end)