Log in to vote

how to make a checkpoint saving system?

Asked by 2 months ago
Edited 2 months ago

im fairly new to scripting, ive tried to make my own script for saving checkpoints, but it doesnt work.


leaderstats = player.leaderstats Stage = leaderstats.Stage CheckpointNumber = game.Workspace.Checkpoints:FindFirstChild(Stage.Value, game.Workspace.Checkpoints)

local spawn.Position = CheckpointNumber

all the checkpoints are named, 1, 2, 3, 4, etc, and are under a folder in workspace called Checkpoints

use datastore Friskyman321 121 — 2mo

Answer this question