Advertisement
SkidScripts

Evov2 Main Script

Mar 28th, 2022 (edited)
2,198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[ ==========  Executed Check  ========== ]]
  2.  
  3. if getgenv().evov2 then
  4.     game:GetService("StarterGui"):SetCore("SendNotification", {
  5.         Title = "EvoV2",
  6.         Text = "Already Executed"
  7.     })
  8.     return
  9. end
  10.  
  11. getgenv().evov2 = true
  12.  
  13. --[[ ==========  Compatibility  ========== ]]
  14.  
  15. local missing = {}
  16.  
  17. local funcs = {
  18.     ["Drawing.new"] = {},
  19.     ["firesignal"] = {},
  20.     ["firetouchinterest"] = {},
  21.     ["getconnections"] = {},
  22.     ["getconstants"] = { "debug.getconstants" },
  23.     ["getgc"] = { "get_gc_objects" },
  24.     ["getinfo"] = { "debug.getinfo" },
  25.     ["getloadedmodules"] = { "get_loaded_modules", "getmodules", "get_modules" },
  26.     ["getupvalue"] = { "debug.getupvalue" },
  27.     ["getupvalues"] = { "debug.getupvalues" },
  28.     ["hookmetamethod"] = {},
  29.     ["httprequest"] = { "http_request", "request", "syn.request" },
  30.     ["islclosure"] = { "is_l_closure" },
  31.     ["newcclosure"] = { "new_c_closure" },
  32.     ["require"] = {},
  33.     ["setconstant"] = { "debug.setconstant" },
  34.     ["setthreadidentity"] = { "setidentity", "setcontext", "setthreadcontext", "syn.set_thread_identity" },
  35.     ["setupvalue"] = { "debug.setupvalue" },
  36.     ["traceback"] = { "debug.traceback" }
  37. }
  38.  
  39. local function parseFunc(str)
  40.     local parsed, index = getfenv(), 1
  41.     while parsed and type(parsed) == "table" do
  42.         local dotIndex = str:find("%.")
  43.         parsed = parsed[str:sub(index, dotIndex and dotIndex - 1 or #str - index + 1)]
  44.         if dotIndex then
  45.             str = str:sub(dotIndex + 1)
  46.             index = str:find("%.") or 1
  47.         end
  48.     end
  49.     return type(parsed) == "function" and parsed or false
  50. end
  51.  
  52. for used, aliases in next, funcs do
  53.     local hasFunc = parseFunc(used) ~= false
  54.     if hasFunc == false then
  55.         for _, alias in next, aliases do
  56.             local parsedFunc = parseFunc(alias)
  57.             if parsedFunc then
  58.                 getgenv()[used] = parsedFunc
  59.                 hasFunc = true
  60.                 break
  61.             end
  62.         end
  63.         if hasFunc == false then
  64.             missing[#missing + 1] = used
  65.         end
  66.     end
  67. end
  68.  
  69. if #missing > 0 then
  70.     game:GetService("StarterGui"):SetCore("SendNotification", {
  71.         Title = "EvoV2",
  72.         Text = "Your exploit is not supported. We recommend you use Synapse"
  73.     })
  74.     return
  75. end
  76.  
  77. --[[ ==========  Game Loader  ========== ]]
  78.  
  79. local chosenGame = ({
  80.     [3233893879] = "badbusiness.lua",
  81.     [292439477] = "phantomforces.lua",
  82.     [2377868063] = "strucid.lua",
  83.     [443406476] = "projectlaz.lua",
  84.     [606849621] = "jailbreak.lua"
  85. })[game.PlaceId]
  86.  
  87. if chosenGame then
  88.     loadstring(game:HttpGetAsync("https://projectevo.xyz/script/games/" .. chosenGame))()
  89. else
  90.     game:GetService("StarterGui"):SetCore("SendNotification", {
  91.         Title = "EvoV2",
  92.         Text = "Not a supported game, sorry."
  93.     })
  94. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement