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)