Stefanuk12

ValiantENV

Apr 28th, 2020
1,487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.55 KB | None | 0 0
  1. -- // Valiant ENV
  2. function valiantENV()
  3.     getgenv().Valiant = {}
  4.     Valiant.Services = {}
  5.     Valiant.Exploit = "Could Not Find Exploit!"
  6.  
  7.     -- // Valiant ENV: Vars
  8.     local Services = {
  9.         "Workspace",
  10.         "RunService",
  11.         "GuiService",
  12.         "Stats",
  13.         "SoundService",
  14.         "LogService",
  15.         "ContentProvider",
  16.         "Chat",
  17.         "MarketplaceService",
  18.         "Players",
  19.         "PointsService",
  20.         "ReplicatedFirst",
  21.         "StudioData",
  22.         "StarterPlayer",
  23.         "StarterPack",
  24.         "StarterGui",
  25.         "CoreGui",
  26.         "LocalizationService",
  27.         "JointsService",
  28.         "InsertService",
  29.         "Debris",
  30.         "Instance",
  31.         "Selection",
  32.         "Lighting",
  33.         "CorePackages",
  34.         "ABTestService",
  35.         "NetworkClient",
  36.         "HttpService",
  37.         "Teams",
  38.         "ReplicatedStorage",
  39.         "TestService",
  40.         "PolicyService",
  41.         "RbxAnalyticsService",
  42.     }
  43.  
  44.     local exploitlist = {
  45.         syn = "Synapse",
  46.         PROTOSMASHER_LOADED = "ProtoSmasher",
  47.         SENTINEL_LOADED = "Sentinel",
  48.         Sirhurt = "Sirhurt",
  49.     }
  50.     -- // Valiant ENV: Func Index
  51.     Valiant.ID = function(path, method, ...)
  52.         local args = {...}
  53.         return path[method](path, unpack(args))
  54.     end
  55.  
  56.     -- // Valiant ENV: Services
  57.  
  58.     for i,v in pairs(Services) do
  59.         Valiant.Services[v] = Valiant.ID(game, "GetService", v)
  60.     end
  61.     for i,v in pairs(Valiant.Services) do
  62.         local ServiceName = tostring(v):gsub(" ","")
  63.         getgenv()[ServiceName] = v
  64.     end
  65.  
  66.     -- // Valiant ENV: Exploit Check
  67.     for i,v in pairs(exploitlist) do
  68.         if getgenv()[i] then
  69.             Valiant.Exploit = v
  70.         end
  71.     end
  72.  
  73.     --// Valiant ENV: Custom Exploit Funcs
  74.     syn_websocket_send = syn_websocket_send
  75.     queueonteleport = syn["queue_on_teleport"] or queue_on_teleport
  76.     firesignal = firesignal
  77.     makefolder = makefolder
  78.     is_protosmasher_caller = is_protosmasher_caller
  79.     clonefunction = clonefunction
  80.     setrawmetatable = setrawmetatable
  81.     getrawmetatable = getrawmetatable
  82.     getinstancefromstate = getinstancefromstate
  83.     setfflag = setfflag
  84.     getcallingscript = getcallingscript or get_calling_script
  85.     getrenv = getrenv
  86.     syn_crypt_b64_encode = syn_crypt_b64_encode
  87.     newcclosure = newcclosure
  88.     getspecialinfo = debug.getspecialinfo or getspecialinfo
  89.     shared = shared
  90.     decompile = decompile
  91.     loadstring = loadstring
  92.     getprotos = debug.getprotos or getprotos
  93.     hookfunction = hookfunction or hookfunc
  94.     isfile = isfile
  95.     getproto = debug.getproto or getproto
  96.     print = print
  97.     isrbxactive = isrbxactive
  98.     rconsoleinfo = rconsoleinfo
  99.     make_readonly = make_readonly
  100.     getstack = debug.getstack or getstack
  101.     rconsolename = rconsolename
  102.     unlockmodulescript = unlockmodulescript
  103.     getupvalue = debug.getupvalue or getupvalue
  104.     setproto = debug.setproto or setproto
  105.     mouse1click = mouse1click
  106.     setupvalue = debug.setupvalue or setupvalue
  107.     getscripts = getscripts or get_scripts
  108.     rconsoleerr = rconsoleerr
  109.     dumpstring = dumpstring
  110.     keypress = keypress
  111.     syn_crypt_derive = syn_crypt_derive
  112.     rconsoleclear = rconsoleclear
  113.     is_redirection_enabled = is_redirection_enabled
  114.     syn_context_set = syn_context_set
  115.     isreadonly = isreadonly or function(tbl) return is_readonly; end;
  116.     mouse2click = mouse2click
  117.     getinfo = debug.getinfo or getinfo
  118.     writefile = writefile
  119.     loadfile = loadfile
  120.     getconstant = debug.getconstant or getconstant
  121.     is_synapse_function = is_synapse_function or issynapsefunction
  122.     getconnections = getconnections
  123.     checkcaller = checkcaller
  124.     setreadonly = setreadonly or function(tbl, val) if val then make_readonly(tbl); else make_writeable(tbl); end; end;
  125.     syn_crypt_encrypt = syn_crypt_encrypt
  126.     warn = warn
  127.     validfgwindow = validfgwindow
  128.     saveinstance = saveinstance
  129.     getinstances = getinstances or get_instances
  130.     getconstants = debug.getconstants or getconstants
  131.     getloadedmodules = getloadedmodules or get_loaded_modules
  132.     require = require
  133.     getnilinstances = getnilinstances or get_nil_instances
  134.     setclipboard = setclipboard
  135.     delfile = delfile
  136.     firetouchinterest = firetouchinterest
  137.     mouse1release = mouse1release
  138.     syn_websocket_close = syn_websocket_close
  139.     setnamecallmethod = setnamecallmethod
  140.     rconsoleprint = rconsoleprint
  141.     getsenv = getsenv
  142.     messagebox = messagebox
  143.     replaceclosure = replaceclosure
  144.     delfolder = delfolder
  145.     keyrelease = keyrelease
  146.     isfolder = isfolder
  147.     XPROTECT = XPROTECT or xprotect
  148.     getcallstack = getcallstack
  149.     appendfile = appendfile
  150.     syn_crypt_hash = syn_crypt_hash
  151.     syn_websocket_connect = syn_websocket_connect
  152.     is_protosmasher_closure = is_protosmasher_closure or isprotosmasherclosure
  153.     mousemoverel = mousemoverel
  154.     printconsole = printconsole
  155.     listfiles = listfiles or list_files
  156.     islclosure = islclosure or is_lclosure
  157.     rconsolewarn = rconsolewarn
  158.     getstateenv = getstateenv
  159.     syn_crypt_decrypt = syn_crypt_decrypt
  160.     readfile = readfile
  161.     mousescroll = mousescroll
  162.     mousemoveabs = mousemoverel
  163.     setconstant = debug.setconstant or setconstant
  164.     getpropvalue = getpropvalue
  165.     syn_crypt_b64_decode = syn_crypt_b64_decode
  166.     mouse2release = mouse2release
  167.     mouse2press = mouse2press
  168.     getgc = getgc
  169.     getstates = getstates
  170.     getpointerfromstate = getpointerfromstate
  171.     mouse1press = mouse1press
  172.     getnamecallmethod = getnamecallmethod or get_namecall_method
  173.     setpropvalue = setpropvalue
  174.     rconsoleinputasync = rconsoleinputasync
  175.     syn_crypt_random = syn_crypt_random
  176.     fireclickdetector = fireclickdetector
  177.     rconsoleinput = rconsoleinput
  178.     getmenv = getmenv
  179.     getreg = getreg or debug.getregistry or getregistry
  180.     getgenv = getgenv
  181.     messageboxasync = messageboxasync
  182.     getupvalues = getupvalues or debug.getupvalues or getupvalues
  183.     setstack = setstack or debug.setstack or setstack
  184.     syn_context_get = syn_context_get
  185.     syn_isactive = syn_isactive
  186.     profilebegan = debug.profilebegin or profilebegin
  187.     traceback = debug.traceback or traceback
  188.     setmetatable = debug.setmetatable or setmetatable
  189.     getmetatable = debug.getmetatable or getmetatable
  190.     getfenv = debug.getfenv or getfenv
  191.     setupvaluename = debug.setupvaluename or setupvaluename
  192.     profileend = debug.profileend or profileend
  193.     validlevel = debug.validlevel or validlevel
  194. end
  195.  
  196. valiantENV()
Add Comment
Please, Sign In to add comment