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 » Scripting Helpers
Home Search
 

Shutdown game

Previous Thread :: Next Thread 
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Oct 2011 09:53 PM
game:Shutdown()

Does this only work in your game? I've tried it in billilands script builder...It didn't work..
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
28 Oct 2011 09:55 PM
game:Shutdown() is a locked function. It can only be run by a CoreScript or the command line.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Oct 2011 09:59 PM
swmaniac, http://wiki.roblox.com/index.php/Shutdown_%28Method%29

It says if running by script or localscript

game:Shutdown ----> s

Which I didn't know what it meant by s
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
28 Oct 2011 10:01 PM
The "This item is protected. Attempting to use it will cause an error" banner didn't hint it was locked?

s [function name] is one of Roblox's security messages.

Somewhat better than Unknown Exception in that it at least tells you what function is locked.
Report Abuse
VenomGuardian is not online. VenomGuardian
Joined: 14 Jul 2011
Total Posts: 174
28 Oct 2011 10:05 PM
anaminus' scripting skills made it impossible to remove or shutdown games. The only way to do so is to use:
p = game.Players:GetChildren()
p:remove()
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Oct 2011 10:05 PM
Great, that's just great! Not what I wanted but thanks.
Report Abuse
Thunderx10 is not online. Thunderx10
Joined: 17 Jun 2009
Total Posts: 2316
28 Oct 2011 10:47 PM
Instance.new 'ManualSurfaceJointInstance'

--That makes everyone have a critical error :0

- ⦅ Eating your cookies since 1957! ⦆ -
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
28 Oct 2011 10:49 PM
It's locked. But if you want to shut down the game, set every instance in the service Players's Parent to nil.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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