|
| 24 Mar 2014 06:46 PM |
function epicdoor (part)
If game.players:isingroup(5564)
then
game.players:destroy()
script.parent.touched:connect (epicdoor)
end end
--Thanks!
|
|
|
| Report Abuse |
|
|
StudioTM
|
  |
| Joined: 06 May 2013 |
| Total Posts: 3454 |
|
|
| 24 Mar 2014 07:06 PM |
| OMG YOU ARE SO ADVANCED YOU SHOULD APPLY TO GET IN MASTER SCRIPTERS GROUP! |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 24 Mar 2014 07:07 PM |
| I wish I could script at his level. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2014 07:21 PM |
| same, but i dont know how to get worse at scripting :( |
|
|
| Report Abuse |
|
|
RaidenJPN
|
  |
| Joined: 22 May 2013 |
| Total Posts: 6920 |
|
|
| 24 Mar 2014 08:38 PM |
I was just skimming through his script,
and then I laughed my ass off when I realized that he was attempting to destroy an entire service. |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 24 Mar 2014 08:41 PM |
| And then there's the point where he's calling the connect method of an event from the function the connect method is referring to. Ya know. Dumb st00f like that. |
|
|
| Report Abuse |
|
|
| |
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 24 Mar 2014 08:43 PM |
Script complexity level: Bow tie.
That's right, it's level isn't even a number. It's a bow tie. |
|
|
| Report Abuse |
|
|
Cboehme
|
  |
| Joined: 01 Dec 2009 |
| Total Posts: 392 |
|
|
| 24 Mar 2014 09:02 PM |
| At least the syntax was right. and for such a complex script, that's hard. |
|
|
| Report Abuse |
|
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 24 Mar 2014 11:47 PM |
| Dat skill. I am only at Workspace.ChildAdded:connect(wait) and print("gudbi werld1") |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Mar 2014 10:15 AM |
^yup
its not game.Players:Destroy(), you dont want to destroy A SERVICE.
|
|
|
| Report Abuse |
|
|
|
| 25 Mar 2014 10:16 AM |
| dangit the quote didn't follow through. Ignore my last post. |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2014 10:27 AM |
| It is a troll door, when you touch it, ALL players are kicked. |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2014 11:23 AM |
sadly that wont work.
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then for i,v in pairs(game.Players:GetChildren()) do v:Destroy() end end end)
^this is how you kick everyone.
Basically, you wanted to destroy the parent of all players. You can't do that, because its a service. What you have to do is run through the Service and kick (:Destroy()) all the children of that service. thats what the for i,v in pairs() loop is for.
|
|
|
| Report Abuse |
|
|
rabbidog
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 804 |
|
|
| 25 Mar 2014 12:51 PM |
| game.Players:ClearAllChildren() |
|
|
| Report Abuse |
|
|
RaidenJPN
|
  |
| Joined: 22 May 2013 |
| Total Posts: 6920 |
|
|
| 25 Mar 2014 12:51 PM |
Stop bumping this thread,
let it die. |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2014 03:29 PM |
| Yea Guys! Let It die already. |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2014 03:33 PM |
| DANG, I thought I could script advanced! |
|
|
| Report Abuse |
|
|