Hello everyone,
I made this model a long time ago for a previous game but I’ve decided to make it opensource for everyone to use. The checkpoint system allows players to spawn at different spawn locations without using teams or actual roblox spawnpoints.
How it works:
-
When a player joins, an IntValue is assigned to them. The IntValue defines which checkpoint they spawn at. 0 is equal to nothing meaning they will spawn at an actual roblox checkpoint not the custom system.
-
When the player touches an invisible wall (or visible, doesn’t really matter) their assigned value is updated to the number of that checkpoint. For example, say this is checkpoint 1 so their IntValue is updated from 0 to 1.
-
On death, the game checks what the players IntValue is equal to and teleports them to the specific checkpoint that has the same IntValue as the player. If the players value is equal to 1 and the checkpoints value is equal to 1 the player will be sent to checkpoint 1 on death.
If you would like some more info or would like to republish this go ahead. All I ask for is some credit for the original model. I know this system isn’t exactly “state of the art” but if people like this I might go make a V2.
How To Use It:
- Read README script. It explains a lot.
Links
Model: Game checkpoints (no team) - Roblox
Notes:
- Feel free to contact me if you need help setting it up or find a bug. My contact information can be found in the scripts or you can contact me through the dev forum.