|
| 27 Mar 2015 12:44 PM |
What did I do wrong???
local limit = 3
game.Players.PlayerAdded:connect(function(saying) saying.Chatted:connect(function(msg) local wl = nil for i = 1, #allow do if allow[i] == saying.Name then wl = true break else wl = false end end if not wl then local lm = string.lower(string.sub(msg,1,limit)) if string.find(lm, "%p.-%s") then local sc = {"asset", "children" ,"core", "destroy", "function", "parent", "getservice", "getobjects", "instance", "loadstring", "local", "method" ,"nil", "print", "remove", "source", "workspace"} for i = 1,#sc do if (string.find(msg,sc[i])) then print("[GS] Script Word: "..sc[i]) saying:Kick() local hx = game:GetService("DataStoreService"):GetOrderedDataStore("BaseHax") hx:IncrementAsync(saying.Name, 1) end end end end end) end |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 12:48 PM |
| So you wan't to kick players that say some works that could appear in a script? That isn't how Injections work... if you don't want people to exploit, enable filtering |
|
|
| Report Abuse |
|
|
anaIyze
|
  |
| Joined: 29 May 2014 |
| Total Posts: 2048 |
|
| |
|
|
| 27 Mar 2015 12:52 PM |
Im so stupid... I found my mistake
local limit = 3
game.Players.PlayerAdded:connect(function(saying) saying.Chatted:connect(function(msg) local wl = nil for i = 1, #allow do if allow[i] == saying.Name then wl = true break else wl = false end end if not wl then local lm = string.lower(string.sub(msg,1,limit)) if string.find(lm, "%p.-%s") then local sc = {"asset", "children" ,"core", "destroy", "function", "parent", "getservice", "getobjects", "instance", "loadstring", "local", "method" ,"nil", "print", "remove", "source", "workspace"} for i = 1,#sc do if (string.find(msg,sc[i])) then print("[GS] Script Word: "..sc[i]) saying:Kick() local hx = game:GetService("DataStoreService"):GetOrderedDataStore("BaseHax") hx:IncrementAsync(saying.Name, 1) end end end end end) end) << I was missing '(' |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 12:53 PM |
that's not going to stop exploiting at all
⬡ |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 27 Mar 2015 01:01 PM |
"Oh hey guys, I like to destroy buildings and drink locally produced milk!" >bandana'd 4ever |
|
|
| Report Abuse |
|
|
HexC3D
|
  |
| Joined: 30 Jun 2012 |
| Total Posts: 10044 |
|
|
| 27 Mar 2015 01:03 PM |
| Not going to stop exploits.. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 01:03 PM |
| Does string.find allow string patterns? |
|
|
| Report Abuse |
|
|
kert109
|
  |
| Joined: 31 Dec 2009 |
| Total Posts: 681 |
|
|
| 27 Mar 2015 01:53 PM |
buildersteven4, it's still possible to exploit even with Filtering Enabled. But it definitely stops most of the major ones.
Btw, don't think of filtering enabled as a security buff, because it's not. It's a feature. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 01:55 PM |
| It's a feature which has the main intent on stepping up security. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 03:01 PM |
Well it prevents people from spawning new instances any easy way. So that certainly is a security buff. But yes, it's a feature as well.
(btw: I don't know any serious exploits possible with filtering enabled on) |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 03:03 PM |
my parents just removed my tv from my room, and now i can't use the tv in my room.
yeah man i totally got ripped totaly. all my assets have been worked on, especially my core. parents will be proud of me
-> banned for life |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 03:07 PM |
| still. this script is just going to kick random players when there saying stuff like "I'm going to the local market", "I haven't heard of that method", "I am going to destroy your base!", "We could kill buildersteven4 for instance"... and stuff like that. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 03:09 PM |
AbstractMadness
"parents" != "parent" |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 03:10 PM |
did you read the script
it checks if any of those words are said, meaning if i said lahgiheirnginparentislehrgiklian it would kick me |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 03:35 PM |
| Check for . Inbetween them as in.before or after or () after them. |
|
|
| Report Abuse |
|
|