SaveBoolean (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>SoulStealer9875 No edit summary |
>MrNicNac No longer AdminOnly. |
||
Line 1: | Line 1: | ||
<onlyinclude>{{ | <onlyinclude>{{Method | ||
|name = SaveBoolean | |name = SaveBoolean | ||
|arguments = [[String]] key, [[Bool]] value | |arguments = [[String]] key, [[Bool]] value |
Revision as of 15:47, 9 July 2011
SaveBoolean( String key, Bool value ) | |
Returns | nil |
Description: | Saves a boolean value that can be reloaded from any server via LoadBoolean |
Member of: | Player |
game.Players.PlayerAdded:connect(function(newPlayer) newPlayer:WaitForDataReady() newPlayer:SaveBoolean("Bool", game.Workspace.Boolean) end)