Before you can use this asset, I believe you have to get the Rojo plugin. A great tutorial to get that set up really quickly is linked here.
Github page: GitHub - KadeDr/Lua: Lua Documents
Another way to do this is to just copy the code in the assets. The place to parent the object will be in parenthesis. The scripts will be located in this file path:
src/server/init.server.luau (ServerScriptService) (Name this Server) (Script)
src/server/Checkpoints.luau (Server (the script you just added to serverscriptservice)) (Module Script)
src/client/init.client.lua (StarterPlayerScripts) (Name this Client) (Local Script)
src/client/Checkpoints (Client (the script you just added to starterplayerscripts)) (Module Script)
There are some assets you have to import, same rules as last time, here are the filepaths:
src/shared/Checkpoints.rbxmx (workspace)
src/shared/RemoteEvents.rbxmx (Replicated Storage)
Stage.rbxmx (StarterGui)
This checkpoints asset will include the following:
- Save Checkpoint
- Checkpoint only saves if the player is living
- Checkpoint has temp stage, so you can go back/forward
- Player spawns on temp stage, so they don’t have to teleport back there every time they die
- Temp stage auto updates when new checkpoint is stepped on
- Leaderstats
Things I plan to add in the future:
- Configs module (to adjust settings, like saving, only save if living, etc)
- Reset Stage
- Skip Stage
- Any other community suggestions
Just keep an eye on this forum to keep up on the updates!