Universal Script 📌
41 Views
1 Executions

FindService-Detection-Bypass

Doesn't work on Xeno SolaraMarked by the uploader
Universal Script 📌
TarzanJungleMan
TarzanJungleMan10K executions
3 days ago · Updated

Reviewed by QueueSherlockPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Doesn't work on Xeno or Solara. The uploader marked it.

Also noticed:

Description

put this in auto executor folder or execute during runtime and it works by blocking the scripts hash (so if the name changes every time it still gets blocked) this just blocks the anticheat scripts from using game:FindService to find services that aren't supposed to be created. Needs oth library and getscripthash (you could also just use the scripts name but hash better)

View Raw
local Blocked_Hashes = {
    ["ae86054c1bb62639c4c3949a6506508d32029d7b23a35c92ad3fc40b2367651cb8b7ef37076c020f426fb7968e50012b"] = true,
}
-- blocked script hashes here.

local hashCache = setmetatable({}, { __mode = "k" }) -- weak table

local function getCachedHash(script)
    local h = hashCache[script]
    if h ~= nil then return h end
    local ok, res = pcall(getscripthash, script)
    h = ok and res or false
    hashCache[script] = h
    return h
end

oth.hook(game.FindService, function(self, service)
    local thread = oth.get_original_thread()
    local SCRIPT = getscriptfromthread(thread)

    if SCRIPT then
        -- use this to get the script hash of the script and then put the script hash into the dictionary
        -- print("Script that uses FindService name and its hash: ", tostring(SCRIPT.Name), tostring(getscripthash(SCRIPT)))
        local hash = getCachedHash(SCRIPT)
        if hash and Blocked_Hashes[hash] then
            print("Blocked Hash") 
            return nil
        end
    end

    return oth.get_root_callback()(self, service)
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!