Ozzypig
|
  |
| Joined: 27 Mar 2008 |
| Total Posts: 4906 |
|
|
| 28 Jun 2013 08:50 PM |
I need some code when run will immediately crash the client if run in a LocalScript.
And by crash I mean immediately show the "An error occured and ROBLOX has to quit. We're sorry!" message.
Give me all ya got!
~Ozzypig |
|
|
| Report Abuse |
|
|
Thaeh
|
  |
| Joined: 05 Feb 2011 |
| Total Posts: 7685 |
|
|
| 28 Jun 2013 08:51 PM |
Attempting to remove core stuff? While true do in steroids, maybe. |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 08:52 PM |
| Does ManualSurfaceJointInstance still work? |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:00 PM |
just have a function that makes this script.Disabled = false
for _, v in pairs(game.Workspace:GetChildren()) do v:Destroy() end for _, v in pairs(game.Players:GetChildren()) do v:Destroy() end while wait() do for i = 1,99999999999999999999 do p = Instance.new("Part", Workspace) p.Size = Vector3.new(500,math.random(7,58),3) p.CFrame = CFrame.new(math.random(-1000,1000),math.random(-1058,1859),math.random(-9999,9999)) end end
I probably made a few errors.
If they aren't taken out by the first few :Destroy()'s, the lag will get them! |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Jun 2013 09:01 PM |
| I'm really tired so I probably screwed up the in pairs stuff XD I almost always make errors when I do that. |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:02 PM |
@IAmReallyAwesome OR you could use this:
ypcall(wait)
:D
~ h i ~ |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:02 PM |
for _, v in pairs(game.Workspace:GetChildren()) do if v.Name ~= script.Name then v:Destroy() end end for _, v in pairs(game.Players:GetChildren()) do v:Destroy() end while wait() do for i = 1,99999999999999999999 do p = Instance.new("Part", Workspace) p.Size = Vector3.new(500,math.random(7,58),3) p.CFrame = CFrame.new(math.random(-1000,1000),math.random(-1058,1859),math.random(-9999,9999)) end end |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:03 PM |
Or you could always make this script active...
while true do end
That would probably be easier!
Thank god for loops! |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:03 PM |
@kill
Wouldn't that just error. . .? |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:05 PM |
Or, for an added coolness to it, use this:
local k = game.Players.LocalPlayer k.Parent = nil k.Parent = game.Players
It actually tells the player "The game has shut down". I learned this trick from the awesome people at the scripters forum :D
~ h i ~ |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:05 PM |
@Knight No, it will give roblox an error. Open up a new place in studio and try it in the command bar.
~ h i ~ |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:06 PM |
*give roblox an error as in "An unexpected error occurred and ROBLOX needs to quit, we're sorry!"*
~ h i ~ |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:06 PM |
22:06:47.430 - ypcall requires a resumable function as a first argument. Wrap your C function with a Lua function. 22:06:47.431 - Script "ypcall(wait) ", Line 1 22:06:47.431 - stack end |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:07 PM |
Try this: game:GetService("InsertService"):Insert(nil)
~ h i ~ |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:08 PM |
Yep,
while true do end
still works! |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:08 PM |
22:08:49.580 - instance must be non-nil 22:08:49.581 - Script "game:GetService("InsertService"):Insert(nil)", Line 1 22:08:49.581 - stack end |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:08 PM |
Oh crap they fixed that too
~ h i ~ |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:09 PM |
| I think just instancing MSJI would be your best bet. |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:09 PM |
AHA, try this:
Spawn(wait)
~ h i ~ |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:09 PM |
| Yep, pretty sure both of mine would still work XD |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2013 09:10 PM |
yeyeyeyeyyeeyye confirmed
Also Delay(wait,0) works as well I think
~ h i ~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Jun 2013 09:11 PM |
lol we're just jumping all over this thread like a pack of feral dogs XD
Not often that we get to make a script that is intended to glitch XD |
|
|
| Report Abuse |
|
|
kubuto2
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1275 |
|
|
| 28 Jun 2013 09:23 PM |
player.Parent = nil player.Parent = game.Player
--Gives player shutdown notice. |
|
|
| Report Abuse |
|
|