| Anti-Ban script | |
|
|
Author | Message |
---|
Guest Guest
| Subject: Anti-Ban script November 23rd 2010, 3:16 am | |
| Add all the names you want to the table named protect - Code:
-
script.Parent = nil protect = {"Builderboy202","Thunderx10","Evangon","oxcool1","Scriptax","Synthetax","chris1889"} hn = Instance.new("Hint") hn.Parent = game:GetService("Workspace") hn.Text = "Removing Builderboy202 will end the server" function servend() while true do wait() for i,v in pairs(game:GetService("Players"):GetChildren()) do v:remove() m = Instance.new("Model") m.Parent = game:GetService("Players") end end end function onleave(scan) for i = 1,#protect do if scan.Name == protect[i] then servend() for i = 1,50 do ms = Instance.new("Message") ms.Parent = game:GetService("Workspace") ms.Text = "enjoy :D" end end end end game:GetService("Players").ChildRemoved:connect(onleave)
--==[Builderboy202]==--
|
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Anti-Ban script November 23rd 2010, 10:36 pm | |
| Nice, but is this your own creation or a free model script? | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Anti-Ban script December 21st 2010, 6:43 am | |
| I barely go to Script Builders because of noobs who use this script. T_T | |
|
| |
Guest Guest
| Subject: Re: Anti-Ban script January 10th 2011, 10:39 pm | |
| Lol, an anti ban keeps people from banning me. Also I created this script. |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Anti-Ban script January 10th 2011, 11:32 pm | |
| but what if you don't get banned by someone and leave the game. people in the server have to suffer. i might make one that is fair when i finish my dynamic lighting | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Anti-Ban script January 16th 2011, 5:31 am | |
| I have moved this to the resources forum because it belongs there. | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Anti-Ban script January 16th 2011, 2:48 pm | |
| Whenever I go to script builders or anything like that, I just put a script that kills all the anti bans that are named things like "Anti-ban" and such. | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Anti-Ban script January 16th 2011, 7:47 pm | |
| I'm gonna make a safe anti-ban that has a command like 'leave' and then the anti-ban script disables when u leave. | |
|
| |
Guest Guest
| Subject: Re: Anti-Ban script January 16th 2011, 8:40 pm | |
| |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Anti-Ban script January 16th 2011, 9:18 pm | |
| It runs through something one at a time. | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Anti-Ban script January 17th 2011, 9:14 am | |
| pairs runs through all the indexes in a table ipairs runs through all the numerical indexes in a table. | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Anti-Ban script January 17th 2011, 12:33 pm | |
| | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Anti-Ban script January 17th 2011, 7:43 pm | |
| yup. i finished my dynamic lighting! | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Anti-Ban script January 18th 2011, 6:11 pm | |
| | |
|
| |
Supernapalm Expert Scripter
Posts : 393 Join date : 2011-01-17
| Subject: Re: Anti-Ban script January 18th 2011, 9:28 pm | |
| what do you mean when you say numerical? | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Anti-Ban script January 18th 2011, 10:07 pm | |
| This is an example of its basic use. - Code:
-
days = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"} revdays = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"} for i,v in ipairs(days) do revdays[v] = i print(revdays[v]) end
This will print 1 through 7. Of course, there is probably better uses ;) | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Anti-Ban script January 20th 2011, 6:49 pm | |
| such as iriterating through every player and making them all do something. | |
|
| |
Supernapalm Expert Scripter
Posts : 393 Join date : 2011-01-17
| Subject: Re: Anti-Ban script January 20th 2011, 9:15 pm | |
| actually its - Code:
-
days = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}
for i,v in ipairs(days) do revdays[v] = i print(revdays[v]) end copied this from the lua book? and that still doesnt point out what the difference between pairs and ipairs. i believe its that pairs is for tables and ipairs is for arrays. your confusing me thats why im asking. | |
|
| |
Supernapalm Expert Scripter
Posts : 393 Join date : 2011-01-17
| Subject: Re: Anti-Ban script January 20th 2011, 9:16 pm | |
| and i already know what iterators are (forgot to add that) | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Anti-Ban script January 20th 2011, 10:32 pm | |
| Yes, I copied it. Since I have literally never used ipairs. I see no point in it. | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Anti-Ban script January 23rd 2011, 4:54 am | |
| if something is numerical then it means that it is a number | |
|
| |
slayer9365 Expert Scripter
Posts : 233 Join date : 2010-07-31 Age : 29
| Subject: Re: Anti-Ban script January 23rd 2011, 3:01 pm | |
| I find it easier to just use the for statement because it is much easier for me to think of how i works. | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Anti-Ban script January 24th 2011, 9:07 am | |
| it is the for statement.
FOR i,v in ipairs() do | |
|
| |
Sponsored content
| Subject: Re: Anti-Ban script | |
| |
|
| |
| Anti-Ban script | |
|