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
/
Script-EVOV2
94 lines (83 loc) · 2.78 KB
/
Script-EVOV2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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