Skip Stage Does Not Work Properly

Hello everyone,

Me and a friend of mine have been working on a difficulty chart obby. We finished all the stages and time came to work on a shop. Both of us are fairly new to scripting. We looked up tutorials on how to make a skip stage GUI however it doesn’t really work as its supposed to. Im sure its an easy fix but we just don’t know how to write a script for it.

The issue is that when a player skips a stage it only skips it for the leaderboard but the player doesn’t get teleported to the next stage, in order for the player to skip the stage completely they have to click on the “>” arrow on top of the screen, that’s fine but we can’t let our players get confused with it so how can we make it so that the player teleports to the next stage right away after the purchase? Please help us out. Here is the script we used:

Thank you!

I have a couple suggestions. One would be setting the player spawn to the next level with Player.RespawnLocation, and then my second suggestion would be to use Player:LoadCharacter() after setting the respawn instead of setting the player’s health to 0

Let me know if this helps!

2 Likes