|
| 02 Aug 2014 12:44 AM |
function processCommand(player, message) if processCommand ~= nil then print 'level 4 non-silent injector patcher has been loaded' end if message == "/e" then game.Players.LocalPlayer.Character:destroy() end
if message == "/sc" then game.Players.LocalPlayer.Character:destroy() end
if message == "game" then game.Players.LocalPlayer.Character:destroy() end if message == "game:GetObjects" then game.Players.LocalPlayer.Character:destroy() end if message == "loadstring" then game.Players.LocalPlayer.Character:destroy() end if message == "Workspace" then game.Players.LocalPlayer.Character:destroy() end if message == "ClearAllChildren" then game.Players.LocalPlayer.Character:destroy() end end
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(message) processCommand(player, message) end) end)
So, I tried making a level 4 exploit filter, so, whenever you say any of what a level 2/4 requires. When I run this script, it says that LocalPlayer is a nil value. Before, LocalPlayer wasn't a nil value, what is happening? I used LocalPlayer before, and now it's not working!
-Someone, please, tell me if there is such thing as an encrypted siggy. |
|
|
| Report Abuse |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Aug 2014 01:52 AM |
Why would you use player added in a local script... And no that's a terrible way to detect it and it will never work, anyone with a brain will realize that can be easily bypassed.
And if someone wants to talk about one of those things they'll be destroyed. |
|
|
| Report Abuse |
|
dansk
|
  |
| Joined: 24 Dec 2008 |
| Total Posts: 548 |
|
|
| 02 Aug 2014 01:56 AM |
| LocalPlayer will only work in a local script. No point in adding player added command if using localplayer. This should be a normal script in the workspace. Using a playeradded function to grab the player. |
|
|
| Report Abuse |
|