Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there's a way to patch this annoying script?

Recently, my game was being exploited several times using this script

    local Plr = game:GetService("Players").LocalPlayer 
    local Moude = Plr:GetMouse()

Mouse.Button1Down:connect(function() 
    	if not game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftControl) then 
    		return 
    	end 
    	if not Mouse.Target then
    		return
    	end 
    	  Mouse.Target:Destroy() 
      end)

I was wondering if there's an actual way to counter this problem.

Thanks.

12 comments

0

Just a question, but is it the code block editor that put that all on one line or did you do that intentionally? Looking at the source it looks as though you wrote all your code on one line.

0

Oh, I'm sorry. I didn't do that intentionally. Let me fix it

0

Ok as for the code, are you sure this script specifically was being exploited, and exploits are almost always targetted at the client itself which is up to roblox to fix. There's not much you can do except maybe have a script that makes sure the players are behaving normally.

0

like adding checks if parts exist in the client?

0

It shouldn't even be exploited because if you look on line 2, Mouse isn't even spelt correctly, but they use it further in the script, also. Please explain to me what the script does.

0

:Connect() pls

0

Since FilteringEnabled exists, the hacker will only ruin it for themself. You shouldn't really be worrying about them.

0

serverside noclip checking by getting parts around the player and checking if they're inside the part using a distance formula for said part.

0

Obviously, just delete either Mouse.Target:Destroy() or delete the whole script itself.

0

No ^

0

You can't do that. The script is injected via a dynamic-link library (DLL) that the exploit uses to run its scripts. The scripts of an exploit run in the game but can't necessarily be found in-game.

0

As far as I know it doesn't need to be injected using a DLL and that any executable will do.

1 answer

The patch is Filtering Enabled. From the looks of it, it seems like this exploiter is deleting parts, which makes him noclip through walls on other people's screen. The only way to patch these exploits is to make the game unplayable for them.

Map Designing Make sure if they noclip through walls, they fall off the map

Weapons Make sure there is security that gives noclippers a disadvantage.

Ex. If they have a raycasting gun, make whatever they hit raycast back to their position to see if they are in a wall. This will make them unable to kill as well as unable to be killed

Server Checks Here is a good post on combatting exploits with server checks https://devforum.roblox.com/t/noclip-detection/89515/9?u=phantomvisual

Good luck with stopping exploits on your game!

1 comment

0

They can always spawn platforms under them so they don't fall, and the hacker could always just teleport to the other side.

This discussion is preserved as it was. New answers, comments, and votes are closed.