Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a Obby Saving System?

Asked by 4 years ago

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

Log in to vote
0
Answered by
JesseSong 3916 Moderation Voter Community Moderator
4 years ago
Edited 4 years ago

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

0
I tried DataStore it doesn't work Koley_Moley -7 — 4y
Ad

Answer this question