generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Script that exits a game/shuts down client

Previous Thread :: Next Thread 
ElectroTM is not online. ElectroTM
Joined: 23 Nov 2012
Total Posts: 1135
08 Jun 2016 01:21 AM
Is there a function that will close the user's window rather than just disconnecting them? (Sidenote: I would like to do this WITHOUT crashing the client.)


Report Abuse
Brick_Wizard is not online. Brick_Wizard
Joined: 15 Mar 2016
Total Posts: 2072
08 Jun 2016 01:35 AM
You could try trick a player into pressing alt + f4. I don't think there is a function for this.


Report Abuse
ElectroTM is not online. ElectroTM
Joined: 23 Nov 2012
Total Posts: 1135
08 Jun 2016 01:58 AM
I'm trying to make a very streamlined exit button in my main menu... With all due respect to your idea, it would probably just be easier to trick them into pressing "leave game". There may be some hacky ways, but it would probably take more testing than I'm comfortable with, and won't really be worth it in the long-run.

Thanks for the help, anyways.


Report Abuse
Locard is not online. Locard
Joined: 13 Apr 2014
Total Posts: 3516
08 Jun 2016 02:07 AM
There's no method that gives you access to shutting down the client.
Report Abuse
Proxidious is not online. Proxidious
Joined: 18 Jul 2011
Total Posts: 1339
08 Jun 2016 02:21 AM
Have the exit button prompt a gui that displays the text "ALT + F4 to confirm"
Report Abuse
ElectroTM is not online. ElectroTM
Joined: 23 Nov 2012
Total Posts: 1135
08 Jun 2016 02:39 AM
alright, I'll just work off of the assumption that the player is smart enough to close his own game when he's finished playing. I feel like a "ALT + F4" confirmation screen seems a bit unprofessional.

Thanks again, Locard. :D


Report Abuse
GetTheJobDone is not online. GetTheJobDone
Joined: 20 Apr 2016
Total Posts: 3008
08 Jun 2016 02:52 AM
the answer, fellow scripters, is not always to give the player 1,000,000 gui prompts


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image