How to create a Finish All button for my obby game?

Im creating an obby game, and I’m trying to create a gamepass button so that when a player purchases this gamepass, they basically teleport to the last checkpoint meaning they finished the game, and on the leaderboard, they are on the last checkpoint, so it obviously isn’t just teleporting to that last checkpoint part. My knowledge on scripting is very limited so I’d appreciate any help. Thanks
(I already have the gamepass & button made)

1 Like

The last checkpoint of the game or previous checkpoint?

What’s the point of a game if you can just skip it all for money?

2 Likes

What he probably means is to skip all of the remaining stages, to teleport to the end of the game.

To create this, you’ll want to recognize how the player bought the developer product. Roblox has some free scripts to learn on here: Developer Products | Documentation - Roblox Creator Hub

Then, you’ll recognize the player’s CFrame, and HumanoidRootPart, and you’ll teleport the player’s HumanoidRootPart to a part that sits at the end of the obby!

its not a developer product, its a one-purchase thing

Here you go :smiley: This document should help you go the right direction, and of course everybody is here to help if you need anything else Passes | Documentation - Roblox Creator Hub

I recommend having it as a developer product, as you can’t repurchase the gamepass.

the whole point is that you buy it and you get teleported to the end essentially. It’s supposed to be a gamepass

Yeah. Either one is the same generally

He wants a gamepass, and besides using a developer product for what he is doing is not a good idea.