Introducing Moneypro's Obby Checkpoint Module

Hi Guys, so I designed a simple Checkpoint Module - Moneypro’s Checkpoint Module!

So this is for people who want to make their checkpoint system easily by writing some commands, it’s just like doing print(“Build me a house”) and your house gets ready!

What can it do ?

  • Load Data
  • Save Data
  • Create Leaderstats
  • Add leaderstats Values
  • Make the checkpoints functional

You can use it without giving any credits to me! It’s totally free

Link -

I’m totally free for feedbacks, also if it bugs, please report here.

V2.0 would be released soon.

Have fun! :smiley:

4 Likes

Update -

  • Fixed Non-Data Saving Bug
  • Fixed Loading Bug
1 Like

If you have any ideas for the further development of this module, feel free to post here!
I would also love to hear feedback from the community!

Update 1.2 -

Update -

  • Fixed Non-Data Saving Bug
  • Fixed Non-Character Loading Bug
  • Fixed Major Bugs

To get regular updates, set this topic to watching
image

you should add a guides documentation and put the source files into github and update it by using git command

1 Like

Basically, it just have one module so there isn’t much. You can even check the module when you want to use :smile:

im revamping bit your modules and its will be better

Uhh…I don’t get what you mean. You’re reposting it ?

Oh, I see. Is it for personal use ? Also, if you find a better code, do share with me on my DM :slight_smile: I’ll also understand what should I improve.

your using MoveTo which the player walk into the checkpoint, so my question is your checkpoint system should be instant go into checkpoint or use walk?

It should be instantly go to checkpoint. Actually I could use CFrames, but I didn’t for some reason which I don’t know lol. If there’s no baseplate, then it would go automatically, otherwise, it would walk, but I recommend to use CFrames. I’ll try to better update my code and make things work more smoothly.

You could surely use CFrames, it doesn’t matter much actually.

Moneypro.lua (5.4 KB)

here the modified/remake module.

i havent test it yet, so you may need to test it.

1 Like

Great Code, it’s cool. Although we don’t need so much of checks but yeah.

the example usage:

local Moneypro = ReplicatedStorage:WaitForChild("Moneypro")
local PlayersC = {}

Moneypro.Manage()
Players.PlayerAdded:Connect(player)
PlayersC[player.Name] = Moneypro.Load(player)
end)

Players.PlayerRemoving:Connect(player)
if PlayersC[player.Name] ~= nil then
PlayersC[player.Name]:Save()
PlayersC[player.Name]:Eject()
PlayersC[player.Name] = nil
end
end)

game:BindToClose(function()
for i, player in Players:GetPlayers() do
if PlayersC[player.Name] ~= nil then
PlayersC[player.Name]:Save()
PlayersC[player.Name]:Eject()
end
end
table.clear(PlayersC)
end)

updated source:
Moneypro.lua (5.2 KB)

1 Like

It’s great code, all-in-one code. Lemme publish it with your credits.

patched some issues:
Moneypro.lua (5.5 KB)

updated usage:

local Players = game:GetService("Players")
local Moneypro = ReplicatedStorage:WaitForChild("Moneypro")

local PlayersC = {}
local Checkpoint_KEY = "DataKey1.0"

Moneypro.Manage("checkpoint")

Players.PlayerAdded:Connect(player)
Instance.new("Folder", player)
local LoadCheckpoint = Moneypro.Load(player, Checkpoint_KEY, "checkpoint", true)
if LoadCheckpoint[1] == true then
PlayersC[player.Name] = LoadCheckpoint[2]
end
end)

Players.PlayerRemoving:Connect(player)
if PlayersC[player.Name] ~= nil then
PlayersC[player.Name]:Save("checkpoint", true)
PlayersC[player.Name] = nil
end
end)

game:BindToClose(function()
for i, player in Players:GetPlayers() do
if PlayersC[player.Name] ~= nil then
PlayersC[player.Name]:Save("checkpoint", true)
end
end
table.clear(PlayersC)
end)
1 Like

Moneypro.lua (5.6 KB)

  • Minor fix typecheck
  • Other minor fixes
  • added !strict for typecheck

im not going to update this

First of all, thanks to all who supported and purchased this module :slight_smile: For the betterment of this module, I would like to update this so it becomes more powerful. However, I need ideas. Anyone who gives ideas will be appreciated :slight_smile:

Add a Checkpoints folder in workspace if there isn’t one existing

2 Likes