Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a skip stage button while using a Team System?

Asked by 3 years ago
Edited 3 years ago

Hi. I am terrible at scripting, but I had a passion for level design and I made an obby. I made it using a Team System (when you walk on a checkpoint, you change to that checkpoints team, for example Stage30). And I finished everything, except when I was trying to put in a Skip Stage button because I was unable to find any tutorial that works for the Team System, only for the leaderbord system. Any help?

1 answer

Log in to vote
0
Answered by
sleazel 1287 Moderation Voter
3 years ago
Edited 3 years ago

You will need to create a dictionary, where keys are stage team colors, and values are next stage team colors. After a click just change team color accordingly and respawn.

Things to consider:

  • Fire a remote and do the change on server to prevent exploits,

  • Make an exception for the last stage (cannot be skipped)

  • You may run out of team colors in this system

I will not provide a script though, you need to make an attempt yourself. Come back here if you are stuck.

0
Thank you for the suggestions.] jtanims70 0 — 3y
Ad

Answer this question