|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|
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 |
|
|
|
| 02 Sep 2012 05:01 PM |
@usering
Wouldn't that just crash the game? |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 02 Sep 2012 05:16 PM |
@swmaniac
How would I do that? |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
|
| 02 Sep 2012 05:21 PM |
@liavt
Yes, you can crash a player. |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2012 05:22 PM |
Oh I got confused for a minute.
I was just thinking too hard.
Thanks anyways. |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2012 05:27 PM |
| Are we allowed to use crash() yet? |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|