Still have questions? Join our Discord server and get real time help.
0

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

Edited 3 months ago

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.

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. SteamG0D 579 — 3mo
0
Oh, I'm sorry. I didn't do that intentionally. Let me fix it RiotGUI 9 — 3mo
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. SteamG0D 579 — 3mo
0
like adding checks if parts exist in the client? RiotGUI 9 — 3mo
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. TheOnlySmarts 162 — 3mo
0
:Connect() pls LoganboyInCO 150 — 3mo
0
Since FilteringEnabled exists, the hacker will only ruin it for themself. You shouldn't really be worrying about them. hiimgoodpack 1851 — 3mo
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. SinisterMemories 864 — 3mo
0
Obviously, just delete either Mouse.Target:Destroy() or delete the whole script itself. Owengren 30 — 3mo
0
No ^ BashCaster 2170 — 3mo
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. BashCaster 2170 — 3mo
0
As far as I know it doesn't need to be injected using a DLL and that any executable will do. hiimgoodpack 1851 — 3mo

0

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!

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