1
0

Delete scripts/executor-tester.lua

This commit is contained in:
tul
2026-08-01 01:53:52 +00:00
parent 191d0cfc1a
commit 01f8cf8911
-41
View File
@@ -1,41 +0,0 @@
--[[
_ _ _
__ | |___ _ __ __| |__ _ ___ __ _ __ _(_) ___ __ _
\ \| |__ \| '_ \ / _` |__` |/ _ |__` |__` | |/ _ ' _` |
> |__) | |_) | | | | | | (_) | | | | | | | | | | |
/_/|_|___/|_.__/|_| |_| |_|\___/ |_| |_|_|_| |_| |_|
mirrorhack | execeutor tester
]]
local exec_name = identifyexecutor() or getexecutorname() or "Executor"
local checks = {
{"setfflag", setfflag},
{"mousemoverel", mousemoverel},
{"getrenv", getrenv},
{"hookmetamethod", hookmetamethod},
{"newcclosure", newcclosure},
{"getnamecallmethod", getnamecallmethod},
{"gethui", gethui},
{"loadstring", loadstring},
{"hookfunction", hookfunction},
{"getgc", getgc},
{"debug.getupvalue", debug and debug.getupvalue},
}
local missing = {}
for _, entry in ipairs(checks) do
if type(entry[2]) ~= "function" then
missing[#missing + 1] = entry[1]
end
end
local player = game:GetService("Players").LocalPlayer
if #missing > 0 then
player:Kick(exec_name .. " is missing: " .. table.concat(missing, ", "))
else
player:Kick(exec_name .. " supports mirrorhack")
end