LoadBoolean (Method)
From Legacy Roblox Wiki
LoadBoolean( String key ) | |
Returns | Bool value |
Description: | Returns a boolean value that was previously saved to the player via SaveBoolean with the same key. Returns false if the key doesn't exist, not nil. |
Member of: | Player |
game.Players.PlayerAdded:connect(function(newPlayer) newPlayer:WaitForDataReady() p = newPlayer:LoadBoolean("Bool") game.Workspace.Brick.CanCollide = p.Value end)