For anyone who wants to know the reason why it was removed…
It was removed because there was a bug where you could hide the Leave button on mobile devices whose screens are smaller (by making the kick message massive and using \n a lot). I don’t have time to find the exact post where a Roblox Staff member says this, but that’s the reason.
Someone already published your module but I need this to work for all games or any game who wants to use my module, this makes it harder for people to setup my module
You should try Blueberry Plus, the updated version of Blueberry 1.11. Instead of just inserting a GUI into the game which is easily bypassable, it teleports the player to another place inside of the game and puts the gui there.
Of course, this method prevents you from making a GUI that looks like the actual kick message because the background would just be a baseplate or whatever you set the place to be, but it’s still pretty cool. I’m sure you can figure something out and somehow make this work; Maybe you could pass a copy of the workspace converted to a table (where everything inside is anchored so there’s no movement or anything though) from the main game to the secondary place somehow, and from the second place convert it back into an instance (you can convert the workspace clone into a table and viceversa using this) and basically replace the workspace with the one you sent over, and then put the gui and it looks basically like a kick message
Edit: just saw your reply to InfiniteBlackPIX who told you to use this aswell, it’s honestly not that complicated to setup if you have an okay PC that can handle 2 studio places open at once (Unlike the bad laptop I’m currently using lol), plus even if it does require a few more steps, it makes the game more secure while also giving you the chance to customize it all to look the way you want it to so I feel like it’s pretty worth it to use. Then again if you just don’t want to setup the second place every time, you can just make a new game that upon entered will display the screen, then you can just keep teleporting people to that game instead of making new places per game. (Of course this would mean people would just be able to enter by themselves if they feel like it but you can just make it so if they weren’t teleported from another game then they get instantly kicked before it loads)