This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
--[[ ========== Executed Check ========== ]] | ||
|
||
if getgenv().evov2 then | ||
game:GetService("StarterGui"):SetCore("SendNotification", { | ||
Title = "EvoV2", | ||
Text = "EvoV2 has already been executed in this game" | ||
}) | ||
return | ||
end | ||
|
||
getgenv().evov2 = true | ||
|
||
--[[ ========== Compatibility ========== ]] | ||
|
||
local missing = {} | ||
|
||
local funcs = { | ||
["Drawing.new"] = {}, | ||
["firesignal"] = {}, | ||
["firetouchinterest"] = {}, | ||
["getconnections"] = {}, | ||
["getconstants"] = { "debug.getconstants" }, | ||
["getgc"] = { "get_gc_objects" }, | ||
["getinfo"] = { "debug.getinfo" }, | ||
["getloadedmodules"] = { "get_loaded_modules", "getmodules", "get_modules" }, | ||
["getupvalue"] = { "debug.getupvalue" }, | ||
["getupvalues"] = { "debug.getupvalues" }, | ||
["hookmetamethod"] = {}, | ||
["httprequest"] = { "http_request", "request", "syn.request" }, | ||
["islclosure"] = { "is_l_closure" }, | ||
["newcclosure"] = { "new_c_closure" }, | ||
["require"] = {}, | ||
["setconstant"] = { "debug.setconstant" }, | ||
["setthreadidentity"] = { "setidentity", "setcontext", "setthreadcontext", "syn.set_thread_identity" }, | ||
["setupvalue"] = { "debug.setupvalue" }, | ||
["traceback"] = { "debug.traceback" } | ||
} | ||
|
||
local function parseFunc(str) | ||
local parsed, index = getfenv(), 1 | ||
while parsed and type(parsed) == "table" do | ||
local dotIndex = str:find("%.") | ||
parsed = parsed[str:sub(index, dotIndex and dotIndex - 1 or #str - index + 1)] | ||
if dotIndex then | ||
str = str:sub(dotIndex + 1) | ||
index = str:find("%.") or 1 | ||
end | ||
end | ||
return type(parsed) == "function" and parsed or false | ||
end | ||
|
||
for used, aliases in next, funcs do | ||
local hasFunc = parseFunc(used) ~= false | ||
if hasFunc == false then | ||
for _, alias in next, aliases do | ||
local parsedFunc = parseFunc(alias) | ||
if parsedFunc then | ||
getgenv()[used] = parsedFunc | ||
hasFunc = true | ||
break | ||
end | ||
end | ||
if hasFunc == false then | ||
missing[#missing + 1] = used | ||
end | ||
end | ||
end | ||
|
||
if #missing > 0 then | ||
game:GetService("StarterGui"):SetCore("SendNotification", { | ||
Title = "EvoV2", | ||
Text = "Your exploit is not supported. We recommend you use Synapse or Fluxus" | ||
}) | ||
return | ||
end | ||
|
||
--[[ ========== Game Loader ========== ]] | ||
|
||
local chosenGame = ({ | ||
[3233893879] = "badbusiness.lua", | ||
[292439477] = "phantomforces.lua", | ||
[2377868063] = "strucid.lua", | ||
[443406476] = "projectlaz.lua", | ||
[606849621] = "jailbreak.lua" | ||
})[game.PlaceId] | ||
|
||
if chosenGame then | ||
loadstring(game:HttpGetAsync("https://projectevo.xyz/script/games/" .. chosenGame))() | ||
else | ||
game:GetService("StarterGui"):SetCore("SendNotification", { | ||
Title = "EvoV2", | ||
Text = "EvoV2 does not support this game" | ||
}) | ||
end |