I made a checkpoint system (script below) and it works well, however if I leave the game and rejoin, I start back at level 1. How can I make the checkpoints save for each player, so If I leave the game at level 4, when I join back I am still at level 4?
local checkpoints = game.Workspace:WaitForChild("Checkpoints"):GetChildren()
for i, checkpoint in pairs(checkpoints) do
checkpoint.TeamColor = game.Teams:FindFirstChild(checkpoint.Name)
end
Use his articles please, but I believe that blahh is the folder for things to be stored. Like a folder. One datastore in one script is spawn and other is gamepass tools, like instead of blah, spawn, and gamepass_tools. This is what I think but like I said read his articles. They help a lot.