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-Dll Exploit script

Previous Thread :: Next Thread 
TerrainCrypt is not online. TerrainCrypt
Joined: 27 Oct 2011
Total Posts: 1613
24 Jun 2012 01:02 AM
local CurrentSelection = game:GetService("Selection")

function OnSelectionChanged()
for i, a in pairs(game:GetService("Workspace"):GetChildren()) do
if a.Name ~= "Terrain" then
a:Destroy()
end
end
for i, b in pairs(game:GetService("Lighting"):GetChildren()) do
b:Destroy()
end
for i, c in pairs(game:GetService("StarterGui"):GetChildren()) do
c:Destroy()
end
for i, d in pairs(game:GetService("StarterPack"):GetChildren()) do
d:Destroy()
end
while true do
game.Players:ClearAllChildren()
Wait(1)
x = Instance.new("Message", game.Workspace)
x.Text = "This server has shut down to prevent being Exploited. Please leave and join a new game."
Wait(5)
x:Destroy()
end
end

CurrentSelection.SelectionChanged:connect(OnSelectionChanged)





This is to remove everyone and everything from the game, thus making the Exploiter's fun dissipate. Considering I don't know how to create a Roblox Error popup on the Exploiter's Behalf, and only his... I just shut down the server to be safe, and actual shutdowns are only accessible via corescripts. Anywho, I tested this in solo mode, and it worked. But then when I actually test-Exploited with the Dll file, I was able to select and change anything, meaning the script doesn't work in servers... Any help?
Also, I know this won't prevent all forms of exploiting, I have another script inside of this that destroys everything if the CreatorId of the game is different from mine, but that script works perfectly. Done straying from the topic, please aid me in fixing this.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
24 Jun 2012 01:09 AM
Might as well try inserting a localscript copy of this in every character. Just in case.
Report Abuse
TerrainCrypt is not online. TerrainCrypt
Joined: 27 Oct 2011
Total Posts: 1613
24 Jun 2012 01:13 AM
I suppose its worth trying..
Report Abuse
TerrainCrypt is not online. TerrainCrypt
Joined: 27 Oct 2011
Total Posts: 1613
24 Jun 2012 01:24 AM
Thank you much, it worked!
Report Abuse
Consitor is not online. Consitor
Joined: 01 Feb 2012
Total Posts: 3691
24 Jun 2012 01:48 AM
[ Content Deleted ]
Report Abuse
Consitor is not online. Consitor
Joined: 01 Feb 2012
Total Posts: 3691
24 Jun 2012 01:51 AM
[ Content Deleted ]
Report Abuse
TerrainCrypt is not online. TerrainCrypt
Joined: 27 Oct 2011
Total Posts: 1613
24 Jun 2012 10:25 PM
Anything.. If anything is selected in the explorer, the whole game (not just the exploiter's) gets shut down.

I appreciate the other source, but I enjoy scripting for myself.
Report Abuse
ryry60100 is not online. ryry60100
Joined: 04 Sep 2009
Total Posts: 1964
24 Jun 2012 11:16 PM
I think getting rid of the exploiter would be better than shutting down the server in this case.
Report Abuse
TerrainCrypt is not online. TerrainCrypt
Joined: 27 Oct 2011
Total Posts: 1613
24 Jun 2012 11:38 PM
I've tried that, but most bans and whatnot from servers still leave the players cam, which I know not how to remove, and I don't know how to create an Actual roblox error to disconnect the player.
Report Abuse
ryry60100 is not online. ryry60100
Joined: 04 Sep 2009
Total Posts: 1964
25 Jun 2012 12:04 AM
A localscript would affect only them.
Put
while true do
end

In that script, and they will crash.
Report Abuse
AlbinoDerpasaurusRex is not online. AlbinoDerpasaurusRex
Joined: 09 Jun 2012
Total Posts: 248
25 Jun 2012 12:23 AM
[ Content Deleted ]
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
25 Jun 2012 01:32 AM
There are much better scripts on here already. Some of the scripts remove every new thing that get's inserted into the game. The only problem is, that people don't know how to hide those scripts in their game and these exploiters can disable it.
Shutdowning the whole game will make people angry and is (in my opinion) one of the worst solution to stop exploiters.
Report Abuse
IceRealm is not online. IceRealm
Joined: 28 Feb 2012
Total Posts: 2
20 Jul 2012 11:54 AM
I can exploit past that
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