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: Efficient client crashing in a global script?

Previous Thread :: Next Thread 
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
02 Sep 2012 04:46 PM
I'm trying to do something like

game.Players.PlayerAdded:connect(function(p)
if p.Name == "randomplayernamehere" then
--crash player
end
end)
Report Abuse
liavt is not online. liavt
Joined: 12 Mar 2009
Total Posts: 1241
02 Sep 2012 04:47 PM
game.Players.PlayerAdded:connect(function(p)
if p.Name == "randomplayernamehere" then
p:Destroy()
end
end)

ROBLOX.Players.Liavt.PostCount = ROBLOX.Players.Liavt.PostCount + 1
Report Abuse
doombringer42 is not online. doombringer42
Joined: 13 Nov 2007
Total Posts: 5445
02 Sep 2012 04:51 PM
doesn't crash the player... only renders them unable to interact with the game. they can still observe everything that happens.

¬ Scripter Tier-2, LuaLearners Elite ♣ scripting teacher/freelancer ♣ send me trade requests!
Report Abuse
liavt is not online. liavt
Joined: 12 Mar 2009
Total Posts: 1241
02 Sep 2012 04:55 PM
You can't really 'Crash' a player. All you can do is what I did right now. You can't really close the window there in.

ROBLOX.Players.Liavt.PostCount = ROBLOX.Players.Liavt.PostCount + 1
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
02 Sep 2012 04:58 PM
It's possible.
Report Abuse
Usering is online. Usering
Joined: 18 Aug 2012
Total Posts: 10281
02 Sep 2012 05:00 PM
game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded
if p.Name == "randomplayernamehere" then
while true do end
end
end)

~repeat wait() until script.Parent:HasALife()
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
02 Sep 2012 05:01 PM
@usering

Wouldn't that just crash the game?
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
02 Sep 2012 05:08 PM
Put a localscript in their backpack with the source:

while true do end
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
02 Sep 2012 05:16 PM
@swmaniac

How would I do that?
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
02 Sep 2012 05:18 PM
Make a localscript called CrashScript, put it in the workspace.
Disabled/Enabled doesn't matter since it's in the workspace.

local CrashScript = workspace:FindFirstChild("CrashScript", true)

game.Players.PlayerAdded:connect(function(NewPlayer)
if NewPlayer.Name == "Idiot" then
CrashScript:clone().Parent = NewPlayer.Backpack
end
end)
Report Abuse
doombringer42 is not online. doombringer42
Joined: 13 Nov 2007
Total Posts: 5445
02 Sep 2012 05:18 PM
Instance.new('ManualSurfaceJointInstance', game.Players.LocalPlayer.PlayerGui') is my favorite

¬ Scripter Tier-2, LuaLearners Elite ♣ scripting teacher/freelancer ♣ send me trade requests!
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
02 Sep 2012 05:20 PM
@doom

I thought they fixed that.

Regardless it's not the best solution, since it may be fixed at any time.

while true do end

Can't be fixed without a number of changes to the way Roblox works.
Report Abuse
129K is not online. 129K
Joined: 23 Aug 2011
Total Posts: 19010
02 Sep 2012 05:21 PM
@liavt

Yes, you can crash a player.
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
02 Sep 2012 05:22 PM
Oh I got confused for a minute.

I was just thinking too hard.

Thanks anyways.
Report Abuse
ninjaknight101 is not online. ninjaknight101
Joined: 04 Apr 2011
Total Posts: 1281
02 Sep 2012 05:27 PM
Are we allowed to use crash() yet?
Report Abuse
doombringer42 is not online. doombringer42
Joined: 13 Nov 2007
Total Posts: 5445
02 Sep 2012 05:51 PM
you mean __crash()? i wouldn't think we would ever get access to that function.

¬ Scripter Tier-2, LuaLearners Elite ♣ scripting teacher/freelancer ♣ send me trade requests!
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
02 Sep 2012 08:16 PM
It's not like it even matters. There are endless ways to crash a client or game.
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