Delete scripts/executor-tester.lua
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user