DataReady (Property)

From Legacy Roblox Wiki
Revision as of 13:04, 10 July 2011 by >SoulStealer9875
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
DataReady
Property Bool DataReady
Description Becomes true when player has connected to ROBLOX Data-Sharing.
Member of Player


game.Players.PlayerAdded:connect(function(newPlayer)
    newPlayer:WaitForDataReady() -- Wait for player to connect to ROBLOX Data-Sharing
    print(newPlayer.Name.. " is eligible to save/load data to/from!")
end)