1
0
Files
mirrorhack/scripts/executor-tester.lua
T
2026-07-31 02:20:36 +00:00

40 lines
1.1 KiB
Lua

--[[
_ _ _
__ | |___ _ __ __| |__ _ ___ __ _ __ _(_) ___ __ _
\ \| |__ \| '_ \ / _` |__` |/ _ |__` |__` | |/ _ ' _` |
> |__) | |_) | | | | | | (_) | | | | | | | | | | |
/_/|_|___/|_.__/|_| |_| |_|\___/ |_| |_|_|_| |_| |_|
mirrorhack | execeutor tester
]]
local exec_name = identifyexecutor() or getexecutorname() or "Executor"
local UNC = {
"setfflag",
"mousemoverel",
"getrenv",
"hookmetamethod",
"newcclosure",
"getnamecallmethod",
"gethui",
"loadstring",
}
local missing = {}
for _, name in ipairs(UNC) do
if type(_G[name]) ~= "function" then
missing[#missing + 1] = name
end
end
if type(debug.getupvalue) ~= "function" then
missing[#missing + 1] = "debug.getupvalue"
end
if #missing > 0 then
game:GetService("Players").LocalPlayer:Kick(exec_name .. " is missing: " .. table.concat(missing, ", "))
else
game:GetService("Players").LocalPlayer:Kick(exec_name .. " supports mirrorhack")
end