miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 31 Oct 2011 04:15 PM |
| Is there any script where you can make a game shutdown? Because I know you put these in the command bar it will work but not in a script :( |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 04:16 PM |
__Crash()
However, that function is locked. Gotta use Studio to use it. |
|
|
| Report Abuse |
|
|
Solotaire
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 30356 |
|
|
| 31 Oct 2011 04:17 PM |
| Since that's protected, the closest thing you could do is remove all the players from the game, I think. Could be wrong. |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 04:18 PM |
aww....
all the fun functions are locked |
|
|
| Report Abuse |
|
|
aase69
|
  |
| Joined: 04 Apr 2008 |
| Total Posts: 3794 |
|
|
| 31 Oct 2011 04:18 PM |
| Why would you want to shutdown the server? |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 04:18 PM |
@crazyman32
No its crash__() |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 04:19 PM |
because its fun
)*($"£)*(&£"*&$*(£"^*$^&*£^(*&$%&*(£^"&$£*(^*&%£(" FLOODCHECK |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 31 Oct 2011 04:19 PM |
^
The real question is
Why don't YOU wanna shut down a server?
_Crash()
That only works on studio? Not online?
|
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 04:20 PM |
raiiiiigggg miz, its crash__()
TigerBloodd | Programmer | Developer |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 04:21 PM |
| it needs to go in da command bar |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 31 Oct 2011 04:22 PM |
crash__()
Will that work in a script or just in studio? I mean in a script by online mode. |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 04:22 PM |
| do you REALLY think roblox wouldnt lock the crash__() method? |
|
|
| Report Abuse |
|
|
HatHelper
|
  |
 |
| Joined: 02 Mar 2009 |
| Total Posts: 46305 |
|
| |
|
|
| 31 Oct 2011 05:12 PM |
while true do for i = 1,math.huge do coroutine.wrap(function() repeat until false end)() end end
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 05:16 PM |
swimguy and HatHelper posted the crash one, to shutdown I normally use this:
for _, p in pairs(Game.Players:GetPlayers()) do p:Remove end Game.Players.PlayerAdded:connect(function(p) p:Remove() end) |
|
|
| Report Abuse |
|
|
HatHelper
|
  |
 |
| Joined: 02 Mar 2009 |
| Total Posts: 46305 |
|
|
| 31 Oct 2011 05:20 PM |
That's no good. Unless your looking to just kick everyone.
|
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 05:21 PM |
| It will eventually shutdown :/ |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 05:29 PM |
game.NetworkServer:remove()
I believe that worked at one point in time. I remember I saw it somewhere. |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 05:30 PM |
I have seen a function that can request a shutdown in the datamodel... but its undocumented and can only be seen on anaminuses object tree. By the looks of it it seems to be unlocked. |
|
|
| Report Abuse |
|
|
HatHelper
|
  |
 |
| Joined: 02 Mar 2009 |
| Total Posts: 46305 |
|
|
| 31 Oct 2011 05:34 PM |
After they patched the NetworkServer remove bug, someone else figured out how to crash a game with another thing to do with NS.
|
|
|
| Report Abuse |
|
|
|
| 31 Oct 2011 05:36 PM |
@HatHelper
I believe they patched those as well. Before you could do this:
game.remove(game.NetworkServer)
But now it doesn't work anymore. |
|
|
| Report Abuse |
|
|
HatHelper
|
  |
 |
| Joined: 02 Mar 2009 |
| Total Posts: 46305 |
|
|
| 31 Oct 2011 05:49 PM |
You could also do this: Instance.new("NetworkServer",game)
For a while, but, patched.
|
|
|
| Report Abuse |
|
|
shrimpoop
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 1307 |
|
|
| 31 Oct 2011 06:03 PM |
x = 0 repeat wait() x = x+1 print(x) until x <= 9000
print("In Soviet Russia, Roblox Plays YOU") |
|
|
| Report Abuse |
|
|
HatHelper
|
  |
 |
| Joined: 02 Mar 2009 |
| Total Posts: 46305 |
|
|
| 31 Oct 2011 06:11 PM |
What's the point of that? It would only run once before printing the fail joke.
|
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 31 Oct 2011 06:50 PM |
| I'm sure removing NetworkClient would work if it were actually in the game (only is available in studio -- I think). |
|
|
| Report Abuse |
|
|