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

how to make a checkpoint saving system?

Asked by 3 years ago
Edited 3 years ago

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

Script:

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

0
use datastore Friskyman321 121 — 3y

Answer this question