Advertisement
BlinkingStars

reeeee.lua

Jun 6th, 2023
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 21.38 KB | Gaming | 0 0
  1. local Games = {
  2.     [301549746] = "Counter Blox",
  3.     [863266079] = "Apocalypse Rising 2",
  4. }
  5. --WHOOPSSSSSSSSSSSSSS I JUST SHAT MYSELF!!!!!!!!!!!!!
  6. local Game = assert(Games[game.PlaceId], "Invalid place!")
  7.  
  8. local UI = Instance.new("ScreenGui")
  9. local Main = Instance.new("Frame")
  10. local PlayerFrame = Instance.new("Frame")
  11. local Title = Instance.new("TextLabel")
  12. local Title_4 = Instance.new("TextButton")
  13. local Line = Instance.new("TextLabel")
  14. local List = Instance.new("ScrollingFrame")
  15. local UIListLayout = Instance.new("UIListLayout")
  16. local Button = Instance.new("TextButton")
  17. local Shadow = Instance.new("TextLabel")
  18. local Input_Label = Instance.new("TextBox")
  19. local TextLabel_Input = Instance.new("TextLabel")
  20. local Shadow_Input = Instance.new("TextLabel")
  21. local ESPFrame = Instance.new("Frame")
  22. local ESPLabel = Instance.new("TextLabel")
  23. local DistanceLabel = Instance.new("TextLabel")
  24.  
  25. Main.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  26. Main.BorderSizePixel = 0
  27. Main.Position = UDim2.new(0.5, -275, 0.5, -150)
  28. Main.Size = UDim2.new(0, 550, 0, 300)
  29.  
  30. PlayerFrame.BackgroundTransparency = 1
  31. PlayerFrame.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  32. PlayerFrame.Position = UDim2.new(0.5, -250, 0, 30)
  33. PlayerFrame.Size = UDim2.new(0, 150, 1, -40)
  34.  
  35. ESPFrame.Size = UDim2.new(1, 0, 1, 0)
  36. ESPFrame.BackgroundTransparency = 1
  37. ESPFrame.Visible = false
  38. local ItemESPFrame = ESPFrame:Clone()
  39.  
  40. ESPLabel.BackgroundTransparency = 1
  41. ESPLabel.Size = UDim2.new(0, 1, 0, 30)
  42. ESPLabel.Font = Enum.Font.GothamSemibold
  43. ESPLabel.TextStrokeTransparency = 0.65
  44. ESPLabel.TextColor3 = Color3.new(0.9, 0.9, 0.9)
  45. ESPLabel.TextSize = 16
  46. ESPLabel.TextYAlignment = Enum.TextYAlignment.Top
  47.  
  48. DistanceLabel.BackgroundTransparency = 1
  49. DistanceLabel.Size = UDim2.new(1, 0, 1, 0)
  50. DistanceLabel.Font = Enum.Font.GothamSemibold
  51. DistanceLabel.TextStrokeTransparency = 0.9
  52. DistanceLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  53. DistanceLabel.Name = "D"
  54. DistanceLabel.TextColor3 = Color3.new(0.8, 0.8, 0.8)
  55. DistanceLabel.Parent = ESPLabel
  56.  
  57. Title.BackgroundTransparency = 1
  58. Title.Position = UDim2.new(0, 0, 0, -30)
  59. Title.Size = UDim2.new(0, 150, 0, 30)
  60. Title.Font = Enum.Font.GothamBold
  61. Title.Text = "PLAYER"
  62. Title.TextColor3 = Color3.new(0.882353, 0.882353, 0.882353)
  63. Title.TextSize = 20
  64. Title.Parent = PlayerFrame
  65.  
  66. Line.BackgroundTransparency = 1
  67. Line.Position = UDim2.new(0, 0, 0, 2)
  68. Line.Size = UDim2.new(1, 0, 1, 0)
  69. Line.Font = Enum.Font.GothamBold
  70. Line.Text = "_________"
  71. Line.TextColor3 = Color3.new(0.882353, 0.882353, 0.882353)
  72. Line.TextSize = 20
  73. Line.Parent = Title
  74.  
  75. List.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  76. List.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  77. List.Size = UDim2.new(1, 0, 1, 0)
  78. List.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  79. List.CanvasSize = UDim2.new(0, 0, 1, 0)
  80. List.ScrollBarThickness = 5
  81. List.Name = "List"
  82. List.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  83. List.Parent = PlayerFrame
  84.  
  85. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  86. UIListLayout.Padding = UDim.new(0, 10)
  87. UIListLayout.Parent = List
  88.  
  89. Button.Name = "Button"
  90. Button.BackgroundColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  91. Button.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  92. Button.Size = UDim2.new(0.85, 0, 0, 30)
  93. Button.Font = Enum.Font.GothamSemibold
  94. Button.Text = "Example Cheat"
  95. Button.TextColor3 = Color3.new(0.882353, 0.882353, 0.882353)
  96. Button.TextSize = 16
  97.  
  98. local GameFrame = PlayerFrame:Clone()
  99. local AimbotFrame = PlayerFrame:Clone()
  100. GameFrame.Position = UDim2.new(0.5, -75, 0, 30)
  101. AimbotFrame.Position = UDim2.new(0.5, 100, 0, 30)
  102. GameFrame:FindFirstChildOfClass("TextLabel").Text = "GAME"
  103. AimbotFrame:FindFirstChildOfClass("TextLabel").Text = "AIMBOT"
  104. GameFrame.Parent = Main
  105. AimbotFrame.Parent = Main
  106.  
  107. Title_4.BackgroundTransparency = 1
  108. Title_4.Position = UDim2.new(0, 0, 0, -25)
  109. Title_4.Size = UDim2.new(1, 0, 0, 25)
  110. Title_4.Font = Enum.Font.GothamBlack
  111. Title_4.Text = Game
  112. Title_4.TextColor3 = Color3.new(1, 1, 1)
  113. Title_4.TextSize = 24
  114. Title_4.Parent = Main
  115.  
  116. Shadow.BackgroundTransparency = 1
  117. Shadow.Position = UDim2.new(0, 1, 0, 1)
  118. Shadow.Size = UDim2.new(1, 0, 1, 0)
  119. Shadow.ZIndex = 0
  120. Shadow.Font = Enum.Font.GothamBlack
  121. Shadow.Text = Game
  122. Shadow.TextColor3 = Color3.new(0, 0, 0)
  123. Shadow.TextSize = 24
  124. Shadow.TextStrokeTransparency = 0
  125. Shadow.Parent = Title_4
  126.  
  127. Input_Label.Visible = false
  128. Input_Label.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  129. Input_Label.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  130. Input_Label.Position = UDim2.new(0.5, -75, 0.5, -15)
  131. Input_Label.Size = UDim2.new(0, 150, 0, 30)
  132. Input_Label.Font = Enum.Font.GothamSemibold
  133. Input_Label.PlaceholderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  134. Input_Label.TextColor3 = Color3.new(0.882353, 0.882353, 0.882353)
  135. Input_Label.TextSize = 14
  136.  
  137. TextLabel_Input.BackgroundTransparency = 1
  138. TextLabel_Input.Position = UDim2.new(0, 0, -1, 0)
  139. TextLabel_Input.Size = UDim2.new(1, 0, 1, 0)
  140. TextLabel_Input.Font = Enum.Font.Gotham
  141. TextLabel_Input.TextColor3 = Color3.new(1, 1, 1)
  142. TextLabel_Input.TextSize = 18
  143. TextLabel_Input.TextXAlignment = Enum.TextXAlignment.Left
  144. TextLabel_Input.Parent = Input_Label
  145.  
  146. Shadow_Input.BackgroundTransparency = 1
  147. Shadow_Input.Position = UDim2.new(0, 1, 0, 1)
  148. Shadow_Input.Size = UDim2.new(1, 0, 1, 0)
  149. Shadow_Input.ZIndex = 0
  150. Shadow_Input.Font = Enum.Font.Gotham
  151. Shadow_Input.TextColor3 = Color3.new(0, 0, 0)
  152. Shadow_Input.TextSize = 18
  153. Shadow_Input.TextXAlignment = Enum.TextXAlignment.Left
  154. Shadow_Input.Parent = TextLabel_Input
  155.  
  156. --// ------------------------------------------- \\--
  157.  
  158. local Services = setmetatable({}, {
  159.     __index = function(self, index)
  160.         local Valid, Service = pcall(game.GetService, game, index)
  161.         if Valid then
  162.             self[index] = Service
  163.             return Service
  164.         end
  165.     end
  166. })
  167.  
  168. local Stepped = Services.RunService.RenderStepped
  169.  
  170. local TypeFrames = {
  171.     Game = GameFrame,
  172.     Player = PlayerFrame,
  173.     Aimbot = AimbotFrame
  174. }
  175.  
  176. local StateColors = {
  177.     [false] = Color3.fromRGB(225, 225, 225),
  178.     [true] = Color3.fromRGB(0, 170, 255)
  179. }
  180.  
  181. local StatePositions = {
  182.     [false] = UDim2.new(0.5, -275, 1, 0),
  183.     [true] = UDim2.new(0.5, -275, 0.5, -150)
  184. }
  185.  
  186. local Cheats = setmetatable({}, {
  187.     __index = {
  188.         Add = function(self, Type, Name, Function)
  189.             if not self[Name] then
  190.                 local Frame = assert(TypeFrames[Type], "Bad type").List
  191.                 local Button = Button:Clone()
  192.                 Button.Text = Name
  193.                 Button.Parent = Frame
  194.                 Button.MouseButton1Click:Connect(Function)
  195.                 self[Name] = Button
  196.             end
  197.         end,
  198.         IsEnabled = function(self, Name)
  199.             local Button = assert(self[Name], "Bad cheat name")
  200.             return Button.TextColor3 == StateColors[true]
  201.         end,
  202.         Toggle = function(self, Name)
  203.             local State = not self:IsEnabled(Name)
  204.             self[Name].TextColor3 = StateColors[State]
  205.             return State
  206.         end,
  207.         GetInput = function(self, Name)
  208.             Main.Visible = false
  209.             Input_Label.Visible = true
  210.             Input_Label.PlaceholderText = Name
  211.             TextLabel_Input.Text = Name
  212.             Shadow_Input.Text = Name
  213.             Input_Label:CaptureFocus()
  214.             Input_Label.Text = ""
  215.             local Enter
  216.             while not Enter do
  217.                 Enter = Input_Label.FocusLost:Wait()
  218.             end
  219.             Input_Label.Visible = false
  220.             Main.Visible = true
  221.             return Input_Label.Text
  222.         end
  223.     }
  224. })
  225.  
  226. Title_4.MouseButton1Click:Connect(function()
  227.     Main.Position = StatePositions[Main.Position == StatePositions[false]]
  228. end)
  229.  
  230. local Settings = {
  231.     Smoothness = 0.5,
  232.     ESPDistance = math.huge,
  233.     ItemESPDistance = math.huge
  234. }
  235.  
  236. local next = next
  237. local typeof = typeof
  238. local setmetatable = setmetatable
  239.  
  240. local write = function(str, iswarning)
  241.     local write = iswarning and warn or print
  242.     write(("[okayHUB]: %s"):format(str))
  243. end
  244.  
  245. local Scripts = _G.okayHUBScripts
  246.  
  247. if not Scripts then
  248.     write("Scripts folder missing! Creating", true)
  249.     Scripts = setmetatable({}, {
  250.         __index = {
  251.             findAllFunctions = function(self)
  252.                 local result = {}
  253.                 for script, funcs in next, self do
  254.                     for func, info in next, funcs do
  255.                         result[func] = info
  256.                     end
  257.                 end
  258.                 return result
  259.             end,
  260.             findScriptWithName = function(self, name)
  261.                 for script, funcs in next, self do
  262.                     if script.Name == name then
  263.                         return script
  264.                     end
  265.                 end
  266.             end,
  267.             findFunctionInfo = function(self, func)
  268.                 for func2, info in next, self:findAllFunctions() do
  269.                     if func2 == func then
  270.                         return info
  271.                     end
  272.                 end
  273.             end,
  274.             findFunctionsForScript = function(self, script)
  275.                 return self[script]
  276.             end
  277.         }
  278.     })
  279.  
  280.     local GC = get_gc_objects or getgc or debug.getregistry
  281.     local IsLClosure = is_l_closure or islclosure
  282.     local IsProtosmasherClosure = is_protosmasher_closure or is_synapse_function
  283.  
  284.     local doFunction = function(f)
  285.         if typeof(f) == "function" and IsLClosure(f) and not IsProtosmasherClosure(f) then
  286.             local _ENV = getfenv(f)
  287.             local script = _ENV.script
  288.             if script ~= nil then
  289.                 local Functions = Scripts[script] or {}
  290.                 Functions[f] = setmetatable({}, {
  291.                     __index = function(self, index)
  292.                         if index == "upvalues" then
  293.                             local upvalues = debug.getupvalues(f)
  294.                             self.upvalues = upvalues
  295.                             return upvalues
  296.                         elseif index == "constants" then
  297.                             local constants = debug.getconstants(f)
  298.                             local new = {}
  299.                             for idx, cnst in next, constants do
  300.                                 new[cnst] = idx
  301.                             end
  302.                             self.constants = new
  303.                             return new
  304.                         elseif index == "_ENV" then
  305.                             self._ENV = _ENV
  306.                             return _ENV
  307.                         end
  308.                     end
  309.                 })
  310.                 Scripts[script] = Functions
  311.             end
  312.         end
  313.     end
  314.     for _, f in next, GC() do
  315.         doFunction(f)
  316.     end
  317.     Stepped:Wait()
  318. end
  319.  
  320. _G.okayHUBScripts = Scripts
  321. local Client = Services.Players.LocalPlayer
  322. if Game == "Apocalypse Rising 2" then
  323.     local Framework = Scripts:findFunctionInfo(getrenv()._G.ClientFramework).upvalues.api
  324.     local Networking = Services.ReplicatedStorage:WaitForChild("Networking")
  325.     Networking:WaitForChild("Intercom"):Destroy()
  326.     Instance.new("RemoteEvent", Networking).Name = "Intercom"
  327.     for func, info in next, Scripts:findFunctionsForScript(Scripts:findScriptWithName("Characters")) do
  328.         local characterStep = info.upvalues.characterStep
  329.         if characterStep and not Settings.characterStep then
  330.             Settings.characterStep = characterStep
  331.             local code = decompile(characterStep)
  332.             Stepped:Wait()
  333.             code = "local character, delta, runTime = ...\n" .. code:gsub("while true do%s+end", function()
  334.                 write("CA")
  335.                 return ""
  336.             end):gsub("character:Destroy%(%)", function()
  337.                 write("CD")
  338.                 return ""
  339.             end):gsub("humanoid%.WalkSpeed = (%w+)", function(w)
  340.                 write("WalkSpeed")
  341.                 return "humanoid.WalkSpeed = nigs or " .. w .. "\nlocal _ = noclips and humanoid:ChangeState(11)\n"
  342.             end):gsub("Enum%.HumanoidStateType%.StrafingNoPhysics", function()
  343.                 write("Anti Noclip")
  344.                 return "'meme'"
  345.             end)
  346.             Stepped:Wait()
  347.             local Env = setmetatable(Scripts:findFunctionInfo(characterStep).upvalues, {
  348.                 __index = getrenv()
  349.             })
  350.             local newFunc = setfenv(loadstring(code), Env)
  351.             Stepped:Wait()
  352.             debug.setupvalue(func, "characterStep", newFunc)
  353.             Stepped:Wait()
  354.             Cheats:Add("Player", "Speed", function()
  355.                 Env.nigs = Cheats:Toggle("Speed") and tonumber(Cheats:GetInput("Speed"))
  356.             end)
  357.             Cheats:Add("Player", "Noclip", function()
  358.                 Env.noclips = Cheats:Toggle("Noclip")
  359.             end)
  360.             Stepped:Wait()
  361.             write("WalkSpeed, Noclip, AC Disable")
  362.         end
  363.     end
  364.     for func, info in next, Scripts:findFunctionsForScript(Services.ReplicatedStorage.Client.Libraries.Network) do
  365.         local Two = info.constants[2]
  366.         if Two then
  367.             debug.setconstant(func, Two, 1)
  368.         end
  369.     end
  370.     for func, info in next, Scripts:findFunctionsForScript(Scripts:findScriptWithName("Bullets")) do
  371.         local getSpredAngle = info.upvalues.getSpredAngle
  372.         if getSpredAngle and not Settings.getSpredAngle then
  373.             Settings.getSpredAngle = getSpredAngle
  374.             Cheats:Add("Game", "No Spread", function()
  375.                 debug.setupvalue(func, "getSpredAngle", Cheats:Toggle("No Spread") and function()
  376.                     return 0.001
  377.                 end or getSpredAngle)
  378.             end)
  379.             write("No Spread")
  380.             Stepped:Wait()
  381.         end
  382.         local getFireImpulse = info.upvalues.getFireImpulse
  383.         if getFireImpulse and not Settings.getFireImpulse then
  384.             Settings.getFireImpulse = getFireImpulse
  385.             Cheats:Add("Player", "No Recoil", function()
  386.                 debug.setupvalue(func, "getFireImpulse", Cheats:Toggle("No Recoil") and function()
  387.                     return {
  388.                         Vector2.new(),
  389.                         0,
  390.                         0,
  391.                         0
  392.                     }
  393.                 end or getFireImpulse)
  394.             end)
  395.             write("No Recoil")
  396.             Stepped:Wait()
  397.         end
  398.     end
  399.     for func, info in next, Scripts:findFunctionsForScript(Scripts:findScriptWithName("World")) do
  400.         local abs = info.constants.abs
  401.         if abs and not Settings.Set then
  402.             Settings.Set = func
  403.             local adjustDistances = info.upvalues.adjustDistances
  404.             debug.setconstant(func, abs, "tanh")
  405.             Cheats:Add("Game", "No Fog", function()
  406.                 debug.setupvalue(func, "adjustDistances", Cheats:Toggle("No Fog") and function()
  407.                     Services.Lighting.FogEnd = 100000000
  408.                 end or adjustDistances)
  409.             end)
  410.             Cheats:Add("Game", "Gravity", function()
  411.                 workspace.Gravity = Cheats:Toggle("Gravity") and tonumber(Cheats:GetInput("Gravity")) or 196.2
  412.             end)
  413.             write("No Fog")
  414.             Stepped:Wait()
  415.         end
  416.     end
  417.     for func, info in next, Scripts:findFunctionsForScript(Services.ReplicatedStorage.Client.Libraries.Cameras.Character) do
  418.         local Step = info.upvalues.step
  419.         if Step and not Settings.BruhStep then
  420.             Settings.BruhStep = Step
  421.             local Constants = {70, 75, 33, 60}
  422.             Cheats:Add("Player", "Field Of View", function()
  423.                 local newFOV = tonumber(Cheats:GetInput("Field Of View")) or 70
  424.                 for _, FOV in next, Constants do
  425.                     debug.setconstant(Step, info.constants[FOV], newFOV * (FOV / 70))
  426.                 end
  427.             end)
  428.         end
  429.     end
  430.     local Camera = workspace.CurrentCamera
  431.     local CF = CFrame.new
  432.     local MoveMouse = Input and Input.MoveMouse or mousemoverel
  433.     local Characters = workspace:WaitForChild("Characters")
  434.     local FindTarget = function()
  435.         local Distance, Selected = math.huge
  436.         for _, Character in next, Characters:GetChildren() do
  437.             if Character ~= Client.Character then
  438.                 local Part = Character:FindFirstChild(Settings.AimForHead and "Head" or "UpperTorso")
  439.                 local ScreenPointV3, OnScreen = Camera:WorldToViewportPoint(Part.Position)
  440.                 local Distance2 = (Services.UserInputService:GetMouseLocation() - Vector2.new(ScreenPointV3.X, ScreenPointV3.Y)).Magnitude
  441.                 if Distance2 <= Distance and OnScreen and (Settings.VisibilityCheck and #Camera:GetPartsObscuringTarget({Part.Position}, {Client.Character}) == 0 or not Settings.VisibilityCheck) then
  442.                     Distance = Distance2
  443.                     Selected = Part
  444.                 end
  445.             end
  446.         end
  447.         return Selected
  448.     end
  449.     Cheats:Add("Aimbot", "Aimbot", function()
  450.         Settings.Aimbot = Cheats:Toggle("Aimbot")
  451.     end)
  452.     Cheats:Add("Aimbot", "Aim For Head", function()
  453.         Settings.AimForHead = Cheats:Toggle("Aim For Head")
  454.     end)
  455.     Cheats:Add("Aimbot", "Visibility Check", function()
  456.         Settings.VisibilityCheck = Cheats:Toggle("Visibility Check")
  457.     end)
  458.     Cheats:Add("Aimbot", "Smoothness", function()
  459.         Settings.Smoothness = 1 - math.clamp(tonumber(Cheats:GetInput("Smoothness")) or 0, 0, 99) / 100
  460.     end)
  461.     Cheats:Add("Game", "Player ESP", function()
  462.         ESPFrame.Visible = Cheats:Toggle("Player ESP")
  463.     end)
  464.     Cheats:Add("Game", "Loot ESP", function()
  465.         ItemESPFrame.Visible = Cheats:Toggle("Player ESP")
  466.     end)
  467.     local Items = {}
  468.     Stepped:Connect(function()
  469.         if Settings.Aimbot and Services.UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
  470.             local Target = FindTarget()
  471.             if Target then
  472.                 local ScreenPoint = Camera:WorldToViewportPoint(Target.Position)
  473.                 local NewPosition = (Vector2.new(ScreenPoint.X, ScreenPoint.Y) - Services.UserInputService:GetMouseLocation()) * Settings.Smoothness
  474.                 MoveMouse(NewPosition.X, NewPosition.Y)
  475.             end
  476.         end
  477.         local Head = Client.Character and Client.Character:FindFirstChild("Head")
  478.         if Head then
  479.             if ESPFrame.Visible then
  480.                 for _, ESP in next, ESPFrame:GetChildren() do
  481.                     local Position = Characters[ESP.Name].Head.Position
  482.                     local ScreenPoint, Visible = Camera:WorldToViewportPoint(Position)
  483.                     ESP.Visible = Visible and Settings.ESPDistance
  484.                     if Visible then
  485.                         ESP.Position = UDim2.new(0, ScreenPoint.X, 0, ScreenPoint.Y)
  486.                         ESP.D.Text = ("[%.0f]"):format((Head.Position - Position).Magnitude)
  487.                     end
  488.                 end
  489.             end
  490.             if ItemESPFrame.Visible then
  491.                 for Position, ESP in next, Items do
  492.                     local ScreenPoint, Visible = Camera:WorldToViewportPoint(Position)
  493.                     ESP.Visible = Visible
  494.                     if Visible then
  495.                         ESP.Position = UDim2.new(0, ScreenPoint.X, 0, ScreenPoint.Y)
  496.                         ESP.D.Text = ("[%.0f]"):format((Head.Position - Position).Magnitude)
  497.                     end
  498.                 end
  499.             end
  500.         end
  501.     end)
  502.     local CharactersHook = function(Character)
  503.         local Name = Character.Name
  504.         if Name ~= Client.Name then
  505.             local ESP = ESPLabel:Clone()
  506.             ESP.Name = Name
  507.             ESP.Text = Name
  508.             ESP.Parent = ESPFrame
  509.         end
  510.     end
  511.     local LootHook = function(Loot)
  512.         local Name = Loot.Name
  513.         local ESP = ESPLabel:Clone()
  514.         Items[Loot.Position] = ESP
  515.         ESP.Text = Text
  516.         ESP.Parent = ItemESPFrame
  517.     end
  518.     local Loot = workspace:WaitForChild("Loot")
  519.     Characters.ChildAdded:Connect(CharactersHook)
  520.     Characters.ChildRemoved:Connect(function(Character)
  521.         local ESP = ESPFrame:FindFirstChild(Character.Name)
  522.         if ESP then
  523.             ESP:Destroy()
  524.         end
  525.     end)
  526.     for _, Character in next, Characters:GetChildren() do
  527.         CharactersHook(Character)
  528.     end
  529.     Loot.ChildAdded:Connect(LootHook)
  530.     Loot.ChildRemoved:Connect(function(Loot)
  531.         local ESP = ItemESPFrame:FindFirstChild(Loot.Name .. tostring(Loot.CFrame.Position))
  532.         if ESP then
  533.             ESP:Destroy()
  534.         end
  535.     end)
  536. elseif Game == "Counter Blox" then
  537.     local Code = Services.HttpService:GenerateGUID()
  538.     local SpoofRemote = Instance.new("RemoteEvent")
  539.     local Env
  540.     for func, info in next, Scripts:findFunctionsForScript(Client.PlayerGui.Client) do
  541.         Env = Env or info._ENV
  542.         local Kick, WalkSpeed = info.constants.Kick or info.constants.kick, info.constants[17.35]
  543.         local _ = Kick and debug.setconstant(func, kick, "GetChildren")
  544.         _ = WalkSpeed and (debug.setconstant(func, info.constants[25], -9999999) or Cheats:Add("Player", "Speed", function()
  545.             debug.setconstant(func, WalkSpeed, Cheats:Toggle("Speed") and tonumber(Cheats:GetInput("Speed")) or 17.35)
  546.         end))
  547.     end
  548.     local speedupdate = env.speedupdate
  549.     Cheats:Add("Player", "No Slowdown", function()
  550.         env.speedupdate = Cheats:Toggle("No Slowdown") and blank or speedupdate
  551.     end)
  552.     Cheats:Add("Player", "No Fall Damage", function()
  553.         local State = Cheats:Toggle("No Slowdown")
  554.         Services.ReplicatedStorage.Events.FallDamage.Name = State and Code or "FallDamage"
  555.         SpoofRemote.Name = State and "FallDamage" or Code
  556.     end)
  557.     local firebullet, info = Env.firebullet, Scripts:findFunctionInfo(Env.firebullet)
  558.     if info then
  559.         warn("firebullet")
  560.         local RecoilX, RecoilY = info.constants.RecoilX, info.constants.RecoilY
  561.         Cheats:Add("Player", "No Recoil", function()
  562.             local State = Cheats:Toggle("No Recoil")
  563.             debug.setconstant(firebullet, RecoilX, State and "SpreadModifier" or "RecoilX")
  564.             debug.setconstant(firebullet, RecoilY, State and "SpreadModifier" or "RecoilY")
  565.         end)
  566.     end
  567. end
  568.  
  569. UI.ZIndexBehavior = Enum.ZIndexBehavior.Global
  570. UI.Parent = Services.CoreGui
  571. Main.Parent = UI
  572. Input_Label.Parent = UI
  573. ESPFrame.Parent = UI
  574. ItemESPFrame.Parent = UI
  575. PlayerFrame.Parent = Main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement