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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 28 Oct 2011 10:47 PM |
Instance.new 'ManualSurfaceJointInstance'
--That makes everyone have a critical error :0
- ⦅ Eating your cookies since 1957! ⦆ - |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|