|
| 24 Apr 2015 02:05 AM |
| I am developing a game where I have an exit with an exit sign, I want to know if theres a way so that when they walk through the door-way, it makes them leave the game, like the teleport thing, but it will display "Leave game?". |
|
|
| Report Abuse |
|
|
| |
|
| |
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
| |
|
| |
|
|
| 24 Apr 2015 07:50 PM |
| Not crash as much as... asks them if they want to leave, like when you go through the menu, click leave game and it has the 'do you want to leave game?' message, I want to put that into a brick so when someone walks into it, they can leave, like an exit. |
|
|
| Report Abuse |
|
|
| |
|
pketny
|
  |
| Joined: 27 Dec 2010 |
| Total Posts: 1162 |
|
|
| 26 Apr 2015 06:44 AM |
OnTouch insert a GUI into the players PlayerGui with a frame inside it and 2 buttons. Ask if he wants to leave, if he clicks no destroy the GUI if he clicks yes player:Kick() |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 06:44 AM |
| You can always just make a GUI similiar to the in-game one, and then whenever they click 'Leave game?' it teleports them to a game within that universe and that games kicks people when the .PlayerAdded is fired. |
|
|
| Report Abuse |
|
|