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
 

Re:

Previous Thread :: Next Thread 
miz656 is not online. 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
crazyman32 is not online. crazyman32
Joined: 13 Apr 2008
Total Posts: 18027
31 Oct 2011 04:16 PM
__Crash()

However, that function is locked. Gotta use Studio to use it.
Report Abuse
Solotaire is not online. 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
pokelord910 is not online. pokelord910
Joined: 26 May 2009
Total Posts: 1045
31 Oct 2011 04:18 PM
aww....

all the fun functions are locked
Report Abuse
aase69 is not online. aase69
Joined: 04 Apr 2008
Total Posts: 3794
31 Oct 2011 04:18 PM
Why would you want to shutdown the server?
Report Abuse
TigerBloodd is not online. TigerBloodd
Joined: 24 Oct 2010
Total Posts: 2430
31 Oct 2011 04:18 PM
@crazyman32

No its crash__()
Report Abuse
pokelord910 is not online. pokelord910
Joined: 26 May 2009
Total Posts: 1045
31 Oct 2011 04:19 PM
because its fun

)*($"£)*(&£"*&$*(£"^*$^&*£^(*&$%&*(£^"&$£*(^*&%£(" FLOODCHECK
Report Abuse
miz656 is not online. 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
TigerBloodd is not online. TigerBloodd
Joined: 24 Oct 2010
Total Posts: 2430
31 Oct 2011 04:20 PM
raiiiiigggg
miz, its crash__()

TigerBloodd | Programmer | Developer
Report Abuse
pokelord910 is not online. pokelord910
Joined: 26 May 2009
Total Posts: 1045
31 Oct 2011 04:21 PM
it needs to go in da command bar
Report Abuse
miz656 is not online. 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
TigerBloodd is not online. TigerBloodd
Joined: 24 Oct 2010
Total Posts: 2430
31 Oct 2011 04:22 PM
do you REALLY think roblox wouldnt lock the crash__() method?
Report Abuse
HatHelper is not online. HatHelper
Top 25 Poster
Joined: 02 Mar 2009
Total Posts: 46305
31 Oct 2011 04:26 PM
while true do end?
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
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
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
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 is not online. HatHelper
Top 25 Poster
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
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
31 Oct 2011 05:21 PM
It will eventually shutdown :/
Report Abuse
TheDisarmedWeapon is not online. TheDisarmedWeapon
Joined: 04 Apr 2010
Total Posts: 59
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
cjcool12345 is not online. cjcool12345
Joined: 28 Jan 2010
Total Posts: 606
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 is not online. HatHelper
Top 25 Poster
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
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
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 is not online. HatHelper
Top 25 Poster
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 is not online. 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 is not online. HatHelper
Top 25 Poster
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 is not online. 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
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