Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How could I log the scripts that exploiters use?

Asked by 5 years ago

I have recently encountered some exploiting problems on my game and wish to create a script logger that I can then use to patch the scripts that they use. If anyone could help me and point me in which way to start it would be greatly appreciated!

0
you can't, especially if they're Lua C scripts DeceptiveCaster 3761 — 5y
0
all exploits are probs made with c# so u cant tacotown2 119 — 5y
0
All I can think of is you make a bot to counterhack every instance of your game and check for other things that were injected. SteamG00B 1633 — 5y
0
But that's also probably illegal and definitely will get you banned SteamG00B 1633 — 5y
0
Can't, just do your best to design your scripts to check if the player can do what they are doing, if not then kick them. Like if you wanted to check if a player is walking too fast, create a script that checks if the player walkspeed is higher than a max (Like 24), and if it is, then kick them. Stephenthefox 94 — 5y

2 answers

Log in to vote
0
Answered by
metryy 306 Moderation Voter
5 years ago
Edited 5 years ago

Due to scripts executed into the client obtaining no Lua bytecode, there is no way for you to log the actual script instances. Instead, you can log what they do such as changing the Humanoid's walkspeed, etc

Example:

local player = game.Players.LocalPlayer
local walkspeed = game.Players.LocalPlayer.Character.Humanoid.WalkSpeed

while true do
    wait()
    if player.Character.Humanoid.WalkSpeed ~= walkspeed then
        return -- punishment here
    end
end
0
Wrong. DeceptiveCaster 3761 — 5y
0
You can't log exploit scripts. Period. DeceptiveCaster 3761 — 5y
0
You literally just checked to see if walkspeed did not equal itself... SteamG00B 1633 — 5y
0
No, he checks to see if the WalkSpeed is different to its original value. There's several other issues with this script, though. BenSBk 781 — 5y
Ad
Log in to vote
0
Answered by
Mr_Unlucky 1085 Moderation Voter
5 years ago

Unfortunately you can't log exploits. However, you can make vote kick systems for exploiters, an admin to ban/kick them, etc. These are at least somewhat better to defend against exploiters.

Answer this question