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

How do I make a Obby Saving System?

So I been making a Obby and I want to know how o make an Obby Saving System. Because the Obby is very long, so no one would actually stay the whole time. Please help . :(

1 answer

Video : https://www.youtube.com/watch?v=vobF8wCyl6U

You will first need a data store

Insert this in server script service.

local visitsDataStore = game:GetService("DataStoreService"):GetDataStore("PlayerVisits")
 
game.Players.PlayerAdded:Connect(function(player)
	local playerKey = "Player_" .. player.UserId
	local success, err = pcall(function()
		visitsDataStore:SetAsync(playerKey, 0)
	end)
end)

Then you will need an intvalue for your stages. and figure the rest out

1 comment

0

I tried DataStore it doesn't work

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