From 27b68087fe3135f96ebcc4abf3e864785972b73c Mon Sep 17 00:00:00 2001 From: tul <27+tul@noreply.localhost> Date: Fri, 31 Jul 2026 02:18:13 +0000 Subject: [PATCH] add main scripts --- scripts/executor-tester.lua | 29 +++++++++++++++++++++++++++++ scripts/loader.lua | 18 ++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 scripts/executor-tester.lua create mode 100644 scripts/loader.lua diff --git a/scripts/executor-tester.lua b/scripts/executor-tester.lua new file mode 100644 index 0000000..0e5f939 --- /dev/null +++ b/scripts/executor-tester.lua @@ -0,0 +1,29 @@ +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 \ No newline at end of file diff --git a/scripts/loader.lua b/scripts/loader.lua new file mode 100644 index 0000000..7f7a7a9 --- /dev/null +++ b/scripts/loader.lua @@ -0,0 +1,18 @@ +--[[ + _ _ _ + __ | |___ _ __ __| |__ _ ___ __ _ __ _(_) ___ __ _ + \ \| |__ \| '_ \ / _` |__` |/ _ |__` |__` | |/ _ ' _` | + > |__) | |_) | | | | | | (_) | | | | | | | | | | | + /_/|_|___/|_.__/|_| |_| |_|\___/ |_| |_|_|_| |_| |_| + + mirrorhack | universal loader + +]] + +if game.GameId == 4827308727 then + loadstring(game:HttpGet("https://git.nfa.re/tul/mirrorhack/raw/branch/main/games/havoc.lua"))() +elseif game.GameId == 8307114974 then + loadstring(game:HttpGet("https://git.nfa.re/tul/mirrorhack/raw/branch/main/games/operation-one.lua"))() +elseif game.GameId == 5091490171 then + loadstring(game:HttpGet("https://git.nfa.re/tul/mirrorhack/raw/branch/main/games/jailbird.lua"))() +end \ No newline at end of file