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

How can I save Int and String values that aren't in a leaderboard for a player?

It is in their StarterGui as it is an Inventory system. Can someone help? Thanks.

1 answer

All you have to do is put the values in a table and save them.

local val1 = player.AValueIdk



local function savePlayerData()
	local stuffToSave = {}
	-- if you have a lot of values, I would recommend a for loop
	table.insert(stuffToSave,val1.Value)
	--save the data here
end

1 comment

0

thx babe

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