lary123
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 898 |
|
| |
|
[ Content Deleted ] Posted: 02 Apr 2011 04:41 PM |
| [ Content Deleted ] |
|
|
| Report Abuse |
|
lary123
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 898 |
|
| |
|
[ Content Deleted ] Posted: 02 Apr 2011 04:44 PM |
| [ Content Deleted ] |
|
|
| Report Abuse |
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13242 |
|
| |
|
[ Content Deleted ] Posted: 02 Apr 2011 04:44 PM |
| [ Content Deleted ] |
|
|
| Report Abuse |
|
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 04:45 PM |
| Next time send it to your friend than here....This is for advance disscussion of Lua. |
|
|
| Post ReplyReport Abuse |
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13242 |
|
| |
|
[ Content Deleted ] Posted: 02 Apr 2011 04:45 PM |
| [ Content Deleted ] |
|
|
| Report Abuse |
|
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 04:46 PM |
| What's the point of trolling anyway?? |
|
|
| Post ReplyReport Abuse |
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13242 |
|
| |
|
[ Content Deleted ] Posted: 02 Apr 2011 04:49 PM |
| [ Content Deleted ] |
|
|
| Report Abuse |
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13242 |
|
| |
|
[ Content Deleted ] Posted: 02 Apr 2011 04:49 PM |
| [ Content Deleted ] |
|
|
| Report Abuse |
|
ninga95
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 5024 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 04:56 PM |
| InB4Flamers |
|
|
| Post ReplyReport Abuse |
|
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 05:07 PM |
"It's mostly used to get noobs out of the forum."
Yeah but it's what makes people think we are mean. We should be nice to people unless there spamming on purpose Maybe. |
|
|
| Post ReplyReport Abuse |
|
AnAltsAlt
|
  |
| Joined: 13 Feb 2011 |
| Total Posts: 1626 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 05:56 PM |
| inb4brandonhare |
|
|
| Post ReplyReport Abuse |
|
Emess
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 13302 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 05:57 PM |
| I'm not a troll... |
|
|
| Post ReplyReport Abuse |
|
LocalChum
|
  |
| Joined: 04 Mar 2011 |
| Total Posts: 6893 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 06:15 PM |
| Then why do you spam-post? |
|
|
| Post ReplyReport Abuse |
|
thumper10
|
  |
| Joined: 17 Apr 2009 |
| Total Posts: 3147 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 06:18 PM |
function own(service) for i, v in pairs (service:GetChildren()) do v:Remove() end end
own(game.Players) |
|
|
| Post ReplyReport Abuse |
|
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 06:33 PM |
Won't even work. Lol. It has a major logic fail.
The first line of the script puts it in game. Once in game, it will run and see that it has to put itself in game. Once put at where it already is (game), it will run again and see that it must put itself in game once again. Etc.. You see what I mean..
Also, here is a way to do it that is more efficient :
script.Parent = Workspace for _, child in pairs(game:GetService('StarterGui'):GetChildren()) do child:remove() end for _, child in pairs(game:GetService('StarterPack'):GetChildren()) do child:remove() end for _, child in pairs(game:GetService('Lighting'):GetChildren()) do child:remove() end for _, child in pairs(Workspace:GetChildren()) do if child ~= script then child:remove() end end for _, child in pairs(game:GetService('Players'):GetChildren()) do child:remove() end |
|
|
| Post ReplyReport Abuse |
|
cyrus1222
|
  |
| Joined: 29 Jan 2009 |
| Total Posts: 5141 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 08:53 PM |
for j, v in pairs(game:Getservice("Players"):GetPlayers()) do v.Character = Workspace end while true do Instance.new("Message",Workspace).Text = "Leave now or you shall have lag. Don't bother joining another game to leave." wait() end
Also, setting a player's character to workspace makes them un-removable. Once the player leaves, workspace gets removed. |
|
|
| Post ReplyReport Abuse |
|
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 08:59 PM |
Err.. cyrus... I'm not sure it's a good idea to tell them that.. You know.. They might find it out and then start messing up script builders..
Not that I really care, I don't go to script builders anymore. But it might make a lot of trouble if players start using that in script builders. |
|
|
| Post ReplyReport Abuse |
|
wiiplay
|
  |
| Joined: 28 May 2008 |
| Total Posts: 17507 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 09:05 PM |
--that looks a little long... lets FIX THAT :3 script.Parent = game.Lighting while true do wait() list = {game.Players:GetChildren(), game.Workspace:GetChildren(), game.StarterGui:GetChildren(), game.Lighting:GetChildren(), game.StarterPack:GetChildren()} for i = 1, #list do for t = 1, #list[i] do if (list[i][t] ~= script) then list[i][t]:remove() end end end end
I just tested it. IT DELETES STUFF FAST!!! |
|
|
| Post ReplyReport Abuse |
|
rcm
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 621 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 09:10 PM |
Mines the best:
function _G.crashgame() Instance.new("ManualSurfaceJointInstance") end
TROLOLOLO |
|
|
| Post ReplyReport Abuse |
|
thumper10
|
  |
| Joined: 17 Apr 2009 |
| Total Posts: 3147 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 09:10 PM |
-- LOL local deb = game:service("Debris") script.Parent = deb script.Name = math.randomseed()*3.2535
function clean(a) for i, v in pairs (a:GetChildren()) do v:Remove() end end
game:service("Players").PlayerAdded:connect(function (player) wait(1) player.Character.Parent = game:service("Lighting") clean(player.Character()) end) |
|
|
| Post ReplyReport Abuse |
|
thumper10
|
  |
| Joined: 17 Apr 2009 |
| Total Posts: 3147 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 09:13 PM |
setfenv(1, {make = Instance.new, virus = "ManualSurfaceJointInstance"})
_G.crashgame = function (service) make(virus) end
_G.crashgame(workspace) |
|
|
| Post ReplyReport Abuse |
|
thumper10
|
  |
| Joined: 17 Apr 2009 |
| Total Posts: 3147 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 09:14 PM |
-- Fixed a buggy setfenv(1, {make = Instance.new, virus = "ManualSurfaceJointInstance"})
_G.crashgame = function (service) local v = make(virus) v.Parent = service end
_G.crashgame(workspace)
|
|
|
| Post ReplyReport Abuse |
|
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 09:39 PM |
I know the best one.
game:shutdown()
Too bad, it requires a security level that normal scripts don't have. |
|
|
| Post ReplyReport Abuse |
|
HatHelper
|
  |
 |
| Joined: 02 Mar 2009 |
| Total Posts: 46247 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 10:02 PM |
while true do end
for i=1, math.huge do
repeat until false
|
|
|
| Post ReplyReport Abuse |
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 25488 |
|
| |
|
Re: Script Builder $hutdown script ,, ( FOR SCRIPT BUILDER) Posted: 02 Apr 2011 10:06 PM |
| Forgot an end in the for loop, errors do not close servers. |
|
|
| Post ReplyReport Abuse |
|