Prison Break Issues

I’m in the proccess of a prison break game, and how it works is at the beginning you choose whether ur a cop or prisoner by going and pressing a button. The button has two functions: 1. To change your team to either cop or prisoner (whichever one you choose) 2. To tp you to the starting point for either cop or prisoner. The issue is that when you press the button it makes you respawn (and switch to the team) so that you have to go to the button a second time to actually start. Is there anyway to make it so that you don’t have to respawn and can just tp and change team at the same time.

Also side note, should I make it so that it randomly gives you either cop or prisoner to make the game more balanced? And also if I implement this would I be able to remove the button function to tp to the starting point.
In case i didn’t say this already there are two starting points, 1 for the cops and another for prisoners.

1 Like

Nice game!

  1. Wire the button to the team switcher [1]
  2. Wire the button to a wire repeater [2]
  3. Set the wire repeater pulse to 0.5
  4. Wire the wire repeater to the teleporter [3]

Hope this helps! :D


  1. Button pressed → set player to configured team ↩︎

  2. Button pressed —> wire pulse ↩︎

  3. Wire pulse → teleport player ↩︎

1 Like

Do you think I should add the random team option or is it better to let them choose and possibly let the game be unbalanced.

Start everyone as team 1. Set the original spawn point to team 1. Create a new spawn point for each of the cop and robber teams, and set it to those teams.

Or use Jobozo’s solution.

1 Like

I’m confused that’s what I already basically have, my issue is that I’m using a button to do two things change the team and tp them.

1 Like

Hmm both are good…

In my game I have possibly unbalanced ones but I would maybe make it so the host can choose which option they want for the game

Just use my answer or @NoNoWahoo’s answer :)

1 Like

Don’t use a teleporter, set spawn points to each of the teams.

Wait how could you make it so that the host can pick?

2 Likes

Sry I get it now my bad

1 Like

What do I mark as a solution now?

Have you heard of psuedo teaming? This is a textbook example of when to use it. Basically, you use items to represent teams instead of an actual team. So if you wanted to be on the cops team, you would press the button, which would grant you an item, and then teleport you over to the cop side. The robber side would just not give you an item. Every time you want to do something (ie: rob the bank), you would have a checker to check if you were on the right team. If you are, THEN the game lets you do what you were doing. Hope this helps!

1 Like

This seems like a quality prison game! I always wanted to make one, but I don’t think it would be possible to create functional handcuffs, which is really the only thing stopping me. I hope you can find out how to make them for your game!

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.