SaveInstance (Method)
From Legacy Roblox Wiki
Jump to navigationJump to search
![]() | |
Returns | nil |
Description: | Saves a Roblox instance, such as a part that can be reloaded on another server via LoadInstance. The DataComplexity used is the Object's DataCost property. Saving nil removes the entry and frees up DataComplexity units.. |
Member of: | Player |
Example
game.Players.PlayerAdded:connect(function(newPlayer)
newPlayer:WaitForDataReady()
newPlayer:SaveInstance("Model", game.Workspace.Model)
end)