LoadInstance (Method)

From Legacy Roblox Wiki
Revision as of 15:41, 9 July 2011 by >SoulStealer9875
Jump to navigationJump to search
LoadInstance( String key )
Returns Instance value
Description: Loads an instance value that was previously saved to the player via SaveInstance.
In Object: Player


game.Players.PlayerAdded:connect(function(newPlayer)
	p = newPlayer:LoadInstance("Model")
	p.Parent = game.Workspace
end)