Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help with SaveInstance/LoadInstance?

So I have this script, but it doesn't seem to work. Can anyone help? game.Players.PlayerAdded:connect(function(plr) local inGame = Instance.new("BoolValue", plr) inGame.Value = false inGame.Name = "inGame" local paused = Instance.new("BoolValue", plr) paused.Name = "paused" paused.Value = false plr:WaitForDataReady() local item = Instance.new("Model") local items = plr:LoadInstance("items") items.Parent = plr

while true do
	wait(1)
	plr:SaveInstance("items", plr.items)
end

end)

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.