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: Anti Abuser for Script Builder

Previous Thread :: Next Thread 
trevorrr is not online. trevorrr
Joined: 01 Aug 2008
Total Posts: 324
09 Aug 2012 03:23 PM
--Anti Abuser by trevorrr
Words = {"CBA, cba", "cmds/", "Cba", "ab/", "OneLegend", "Skulls", "skull", "skulls", "book", "Book". "Books", "books", "camball", "Camball", "ythe", "SC", "loltroll" }
function Chatted(Msg, Speaker)
for AllWords, Word in pairs(Words) do
if string.find(Msg, string.lower(Word)) then
Speaker:Remove()
end
end
end
game.Players.ChildAdded:connect(function(Child)
if Child.className == "Player" then
Child.Chatted:connect(function(Msg)Chatted(Msg, Child)end)
end
end)
-- Anti Abuser script builder version

________________________________________________

if it don't work tell me .-.
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
09 Aug 2012 03:27 PM
Even better if you do this:
Words = {create/, run/, start/}
banned = {}
function Chatted(Msg, Speaker)
for AllWords, Word in pairs(Words) do
if string.find(Msg, string.lower(Word)) then
table.insert(Speaker.Name, banned)
Speaker:Destroy()
end
end
end
game.Players.ChildAdded:connect(function(Child)
if Child.ClassName == "Player" then
Child.Chatted:connect(function(Msg)Chatted(Msg, Child)end)
end
for i=1, #banned do
if Child.Name == banned[i] then
Child:Destroy()
end
end
end)
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
09 Aug 2012 03:29 PM
ooppss
Try:
Words = {create/, run/, start/}
banned = {}
except = {"trevvorr", "mamaguy"}
function Chatted(Msg, Speaker)
for AllWords, Word in pairs(Words) do
if string.find(Msg, string.lower(Word)) then
for i=1, #except do
if not speaker.Name == except[i] or not speaker.Name == "trevvorr" then
table.insert(Speaker.Name, banned)
Speaker:Destroy()
end
end
end
game.Players.ChildAdded:connect(function(Child)
if Child.ClassName == "Player" then
Child.Chatted:connect(function(Msg)Chatted(Msg, Child)end)
end
for i=1, #banned do
if Child.Name == banned[i] then
Child:Destroy()
end
end
end)
Report Abuse
Swami83333 is not online. Swami83333
Joined: 10 Jul 2010
Total Posts: 173
09 Aug 2012 03:47 PM
thats one nice script




-Mr.Bucket
Report Abuse
Raphael7 is not online. Raphael7
Joined: 03 Dec 2008
Total Posts: 2479
09 Aug 2012 04:09 PM
Yes, very impressive.
Report Abuse
trevorrr is not online. trevorrr
Joined: 01 Aug 2008
Total Posts: 324
09 Aug 2012 05:39 PM
@Mamaguy well yes but i don't want to ruin the game just block annoying scripts
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