How do games make you rejoin upon leaving?

I was wondering how games that cause you to rejoin upon leaving work, I have only seen a couple of them but they are weird. What happens is then you go to press the little roblox icon in the top left you are kicked/force teleported to a new game. I was curious on how this works, I thought I could just put a text button over the leave icon but from my understanding the leave icon always shows on top. Anyone know how these games work, and more importantly do they violate TOS? I was looking to make a M U G E N type game, but I’m gonna scrap the anti leave mechanic if it is against TOS. Thanks in advance, -me7474.

1 Like

Not sure about TOS issues, but it’s not possible to make players stay in your game and restrict them from leaving (why would you even do that in the first place), they can always Alt + F4, Tab out and close Roblox from the Task Bar, Force-quitting roblox with the Task Manager, or ESC + L + Enter.

1 Like

I have seen multiple games do it, yes I know about alt F4, here is a example of a game that force rejoins you:

1 Like

Adding on to this I forgot to say that I did not mean you cannot leave indefinitely, I just meant that when you press leave or the Top left icon it triggers a event, people seem to use that event to force rejoin you.

Roblox has already patched this behaviour. If it’s continuing, I recommend making a bug report and reporting the specific game for violating Roblox’s Terms of Service.

2 Likes

I believe there was an attack a couple months ago in MeepCity, where exploiters disabled the ability to leave. However, I’m not sure if it’s patched or not, but I assume it has been patched long ago.

1 Like

Thanks for clarifying, I saw a vid from like 2019 on it and it peeked my interest lol. I thought it might have been a bug, looks like I have to come up with other unique mechanics. I will mark as solution.

1 Like

Yeah, Everytime I play Tower Defence Simulator on my phone. The game just force rejoins me. But on a different device is normal.

They use the GuiService | Documentation - Roblox Creator Hub Service and then place the Teleport function in the ‘MenuOpened’ Event

1 Like

I just made a test place and it doesn’t look like it has been patched!

2 Likes