Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.28 KB | None | 0 0
  1. do
  2. if game.PlaceId ~= 606849621 then return end
  3.  
  4. IB_MAX_CFLOW_START()
  5. local function trick() return 'asd' end
  6. if not is_synapse_function(trick) then while true do end end
  7. IB_MAX_CFLOW_END()
  8.  
  9. local LocalPlayer = game:GetService("Players").LocalPlayer
  10. if not LocalPlayer.Character or LocalPlayer.Character.Parent == nil then
  11. LocalPlayer.CharacterAdded:Wait()
  12. end
  13. end
  14.  
  15. local Utils = {}
  16. do
  17. local Camera = game:GetService("Workspace").CurrentCamera
  18. local Players = game:GetService("Players")
  19. local Player = Players.LocalPlayer
  20. local Character = Player.Character
  21. local NewCharEvent = Instance.new("BindableEvent")
  22.  
  23. function Utils.ConvertTable(Table, KeyValue)
  24. local Result = {}
  25. if KeyValue then
  26. for I,V in pairs(Table) do
  27. Result[#Result + 1] =
  28. {
  29. ["Key"] = I,
  30. ["Value"] = V
  31. }
  32. end
  33. else
  34. for I,V in pairs(Table) do
  35. Result[#Result + 1] = V
  36. end
  37. end
  38. return Result
  39. end
  40.  
  41. function Utils.GetDistance(From, To)
  42. local Point1
  43. local Point2
  44.  
  45. if typeof(From) == 'Vector3' then
  46. Point1 = From
  47. elseif typeof(From) == 'Instance' and From:IsA'BasePart' then
  48. Point1 = From.Position
  49. else
  50. Point1 = Vector3.new()
  51. end
  52.  
  53. if typeof(To) == 'Vector3' then
  54. Point2 = To
  55. elseif typeof(To) == 'Instance' and To:IsA'BasePart' then
  56. Point2 = To.Position
  57. elseif To == nil then
  58. Point2 = Camera.CFrame.p
  59. else
  60. Point2 = Vector3.new()
  61. end
  62.  
  63. return (Point1 - Point2).magnitude
  64. end
  65.  
  66. function Utils.GetNearestPlayer(Radius, TeamCheck, Friendly, CrimCheck, Blacklist)
  67. if not Radius then Radius = 10000 end
  68.  
  69. local Nearest
  70. local Closest = Radius
  71.  
  72. for i, v in pairs(Players:GetPlayers()) do
  73. if v ~= Player and v.Character ~= nil and v.Character:FindFirstChild'HumanoidRootPart' then
  74. local ShouldContinue = true
  75. if TeamCheck and v.TeamColor == Player.TeamColor then
  76. ShouldContinue = false
  77. end
  78. if CrimCheck and tostring(v.Team) == "Prisoner" then
  79. ShouldContinue = false
  80. end
  81. if Blacklist then
  82. for I2,V2 in pairs(Blacklist) do
  83. if I2.Name == v.Name and V2 then
  84. ShouldContinue = false
  85. end
  86. end
  87. end
  88. if Friendly then
  89. if v.TeamColor == Player.TeamColor then
  90. ShouldContinue = true
  91. else
  92. ShouldContinue = false
  93. end
  94. end
  95. if ShouldContinue then
  96. local Distance = Utils.GetDistance(v.Character.HumanoidRootPart)
  97. if Distance < Closest then
  98. Closest = Distance
  99. Nearest = v
  100. end
  101. end
  102. end
  103. end
  104.  
  105. return Nearest
  106. end
  107.  
  108. function Utils.GetPlayer()
  109. return Player
  110. end
  111.  
  112. function Utils.GetCharacter()
  113. return Character
  114. end
  115.  
  116. function Utils.NewCharacter(Func)
  117. NewCharEvent.Event:Connect(Func)
  118. end
  119.  
  120. function Utils.ResolveVehicle(Player)
  121. local Name = Player.Name
  122. for I,V in pairs(game:GetService("Workspace").Vehicles:GetChildren()) do
  123. local Seat = V:FindFirstChild("Seat")
  124. if Seat then
  125. local PlayerName = Seat:FindFirstChild("PlayerName")
  126. if PlayerName and PlayerName.Value == Name then return V end
  127. end
  128. end
  129. return nil
  130. end
  131.  
  132. function Utils.Split(str, sep)
  133. local result = {}
  134. local regex = ("([^%s]+)"):format(sep)
  135. for each in str:gmatch(regex) do
  136. table.insert(result, each)
  137. end
  138. return result
  139. end
  140.  
  141. Player.CharacterAdded:Connect(function(NewChar)
  142. Character = NewChar
  143. NewCharEvent:Fire(NewChar)
  144. end)
  145. end
  146.  
  147. local AutoUpdate = {}
  148. do
  149. AutoUpdate.Keys = {}
  150.  
  151. local PreKeys =
  152. {
  153. ["[STR_ENCRYPT]Main"] =
  154. {
  155. ["[STR_ENCRYPT]Arrest"] = 5,
  156. ["[STR_ENCRYPT]Eject"] = 9,
  157. ["[STR_ENCRYPT]Teleport"] = 24
  158. },
  159.  
  160. ["[STR_ENCRYPT]Bullet"] =
  161. {
  162. ["[STR_ENCRYPT]Damage"] = 2
  163. },
  164.  
  165. ["[STR_ENCRYPT]Basic"] =
  166. {
  167. ["[STR_ENCRYPT]Taser"] = 3
  168. },
  169.  
  170. ["[STR_ENCRYPT]ItemSystem"] =
  171. {
  172. ["[STR_ENCRYPT]Bullet"] = 3
  173. },
  174.  
  175. ["[STR_ENCRYPT]Paraglide"] =
  176. {
  177. ["[STR_ENCRYPT]Parachute"] = 2,
  178. ["[STR_ENCRYPT]ExitParachute"] = 3
  179. }
  180. }
  181.  
  182. --[[local FindKeys =
  183. {
  184. ["Main"] =
  185. {
  186. ["s0puogdx"] = true,
  187. ["a65ghrl1"] = true,
  188. ["nv98vwuf"] = true,
  189. ["en393jpx"] = true
  190. },
  191.  
  192. ["Bullet"] =
  193. {
  194. ["s98o4vw0"] = true
  195. },
  196.  
  197. ["Basic"] =
  198. {
  199. ["nodnfe3d"] = true
  200. },
  201.  
  202. ["ItemSystem"] =
  203. {
  204. ["of6hq0km"] = true,
  205. ["oxhesrb1"] = true
  206. },
  207.  
  208. ["Paraglide"] =
  209. {
  210. ["roo8qard"] = true,
  211. ["en393jpx"] = true
  212. }
  213. }]]
  214.  
  215. IB_MAX_CFLOW_START()
  216.  
  217. local Scripts =
  218. {
  219. ["[STR_ENCRYPT]Main"] = decompile(game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript),
  220. ["[STR_ENCRYPT]Bullet"] = decompile(game:GetService("ReplicatedStorage").Game.Bullets),
  221. ["[STR_ENCRYPT]Basic"] = decompile(game:GetService("ReplicatedStorage").Game.ItemModule.Basic),
  222. ["[STR_ENCRYPT]ItemSystem"] = decompile(game:GetService("ReplicatedStorage").Module.ItemSystem),
  223. ["[STR_ENCRYPT]Paraglide"] = decompile(game:GetService("ReplicatedStorage").Game.Paraglide)
  224. }
  225.  
  226. local function Deobfuscate(Key)
  227. local DeobfusFunc = loadstring([[
  228. local function FireServer(Key)
  229. return Key
  230. end
  231.  
  232. return ]] .. Key)
  233.  
  234. local function CreateProxy()
  235. local RT = newproxy(true)
  236. getmetatable(RT).__index = function(T, K)
  237. return CreateProxy()
  238. end
  239. return RT
  240. end
  241.  
  242. local Env = {}
  243. setmetatable(Env,
  244. {
  245. __index = function(T, K)
  246. return CreateProxy()
  247. end
  248. })
  249.  
  250. setfenv(DeobfusFunc, Env)
  251.  
  252. return DeobfusFunc()
  253. end
  254.  
  255. for I,V in pairs(Scripts) do
  256. local Index = 1
  257. for ObfusKey in V:gmatch([[FireServer%b()]]) do
  258. local Key = Deobfuscate(ObfusKey)
  259. Index = Index + 1;
  260. for Name, TargetIndex in pairs(PreKeys[I]) do
  261. if rawequal(Index, TargetIndex) then
  262. AutoUpdate.Keys[Name] = Key
  263. end
  264. end
  265. --[[for Name, _ in pairs(FindKeys[I]) do
  266. if rawequal(Key, Name) then
  267. print("Found key: " .. Key .. ", Index: " .. Index .. ", in Script: " .. I)
  268. end
  269. end]]
  270. end
  271. end
  272.  
  273. IB_MAX_CFLOW_END()
  274.  
  275. if not AutoUpdate.Keys.Arrest then
  276. local Hint = Instance.new("Hint", workspace)
  277. Hint.Text = "Failed to load JailbreakHaxx. Make sure you installed the Java JDK and try again!"
  278. wait(5)
  279. Hint:Destroy()
  280. return
  281. end
  282.  
  283. local RemoteName = Scripts["Main"]:match'(%w+):FireServer%(.-, %w+.Name%)';
  284. local FSName
  285.  
  286. for I,V in pairs(debug.getregistry()) do
  287. if typeof(V) == 'function' then
  288. local Suc, Res = pcall(debug.getupvalues, V)
  289. if Suc then
  290. if Res[RemoteName] and typeof(Res[RemoteName]) == 'table' and Res[RemoteName].FireServer then
  291. Remote = Res[RemoteName]
  292. for R, _ in pairs(debug.getupvalues(Remote.FireServer)) do
  293. FSName = R
  294. end
  295. break
  296. end
  297. end
  298. end
  299. end
  300.  
  301. local RMatch = ('%w+ = true\n%s+:FS:%((.-), "NoClip StrafingNoPhysics", false%)'):gsub(':FS:', FSName)
  302. AutoUpdate.Keys.AntiCheat = Deobfuscate(Scripts["Main"]:match(RMatch))
  303.  
  304. AutoUpdate.Keys.ClientTable = Utils.Split(Scripts["Main"]:match('UserInputType.Touch%sthen[^.]+%s1[^.]+%.[^.]+%('):match('function%s[^.]+%.[^.]+%('):match('%s[^.]+%.[^()]+'):gsub('%s', ''), '.')[1]
  305. end
  306.  
  307. local Remote = {}
  308. do
  309. local FireServer = Instance.new("RemoteEvent").FireServer
  310. local NameCall = getfenv()[("[STR_ENCRYPT]gbmt")]()[("[STR_ENCRYPT]__namecall")] --anti-skid protection
  311. if type(NameCall) ~= "function" or is_synapse_function(NameCall) or islclosure(NameCall) or #debug.getupvalues(NameCall) ~= 0 then while true do end end
  312. local FireFunc
  313. local Event
  314. local EventList
  315. local RuntimeKeys = {}
  316. local ReverseRuntimeKeys = {}
  317. local EventHooks = {}
  318.  
  319. function Remote.FireServer(Key, ...)
  320. if Key == "[STR_ENCRYPT]Damage" then
  321. FireFunc(AutoUpdate.Keys[Key], ...) --todo: WTF?
  322. end
  323.  
  324. local RealKey = RuntimeKeys[AutoUpdate.Keys[Key]]
  325. NameCall(Event(), RealKey, ..., "[STR_ENCRYPT]FireServer")
  326. end
  327.  
  328. function Remote.FireServerRaw(Key, ...)
  329. local RealKey = RuntimeKeys[Key]
  330. NameCall(Event(), RealKey, ..., "[STR_ENCRYPT]FireServer")
  331. end
  332.  
  333. function Remote.AddHook(Key, Func)
  334. EventHooks[AutoUpdate.Keys[Key]] = Func
  335. end
  336.  
  337. local FireServerHook = newcclosure(function(TEvent, Key, ...)
  338. if EventHooks[ReverseRuntimeKeys[Key]] then EventHooks[ReverseRuntimeKeys[Key]](...) end
  339. if ReverseRuntimeKeys[Key] == AutoUpdate.Keys.AntiCheat then return end
  340.  
  341. return FireServer(TEvent, Key, ...)
  342. end)
  343.  
  344. --Setup hooks into Jailbreak scripts
  345. local BreakLoop = false
  346. for I,V in pairs(getreg()) do
  347. if BreakLoop then break end
  348. if type(V) == "function" and islclosure(V) then
  349. for I2,V2 in pairs(debug.getupvalues(V)) do
  350. if type(V2) == "table" and rawget(V2, "FireServer") then
  351. --Grab JB event handlers (retarded code)
  352. FireFunc = Utils.ConvertTable(debug.getupvalues(rawget(V2, "FireServer")))[1]
  353. local Upvals = Utils.ConvertTable(debug.getupvalues(Utils.ConvertTable(debug.getupvalues(rawget(V2, "FireServer")))[1]), true)
  354. local EventIdx
  355. local RuntimeKeysIdx
  356. local UpvalsIdx
  357. for I,V in pairs(Upvals) do
  358. if type(Upvals[I].Value) == "function" then
  359. if islclosure(Upvals[I].Value) then
  360. EventIdx = I
  361. else
  362. UpvalsIdx = I
  363. end
  364. elseif type(Upvals[I].Value) == "table" then
  365. RuntimeKeysIdx = I
  366. end
  367. end
  368. Event = Upvals[EventIdx].Value
  369. EventList = Utils.ConvertTable(debug.getupvalues(Event))[1]
  370. RuntimeKeys = Upvals[RuntimeKeysIdx].Value
  371. for I3,V3 in pairs(RuntimeKeys) do
  372. ReverseRuntimeKeys[V3] = I3
  373. end
  374. debug.setupvalue(Utils.ConvertTable(debug.getupvalues(rawget(V2, "FireServer")))[1], Upvals[UpvalsIdx].Key, FireServerHook)
  375. BreakLoop = true
  376. break
  377. end
  378. end
  379. end
  380. end
  381.  
  382. Remote.Event = Event
  383. Remote.EventList = EventList
  384. end
  385.  
  386. local Settings = {}
  387. do
  388. local RealSettings = {}
  389. local RealSavedSettings = {}
  390.  
  391. function Settings.Set(Key, Val)
  392. RealSettings[Key] = Val
  393. end
  394.  
  395. function Settings.Get(Key)
  396. return RealSettings[Key]
  397. end
  398.  
  399. function Settings.SetSaved(Key, Val)
  400. RealSavedSettings[Key] = Val
  401. end
  402.  
  403. function Settings.GetSaved(Key)
  404. return RealSavedSettings[Key]
  405. end
  406.  
  407. --Save settings
  408. local Suc, Res = pcall(function()
  409. return game:GetService("HttpService"):JSONDecode(readfile("jbhaxx_settings.bin"))
  410. end)
  411.  
  412. if Suc and type(Res) == "table" then
  413. for I,V in pairs(Res) do
  414. Settings.SetSaved(I, V)
  415. end
  416. end
  417.  
  418. if not Settings.GetSaved("WalkSpeed") then
  419. Settings.SetSaved("WalkSpeed", 50)
  420. end
  421.  
  422. if not Settings.GetSaved("JumpPower") then
  423. Settings.SetSaved("JumpPower", 100)
  424. end
  425.  
  426. if not Settings.GetSaved("Active") then
  427. Settings.SetSaved("Active", {})
  428. end
  429.  
  430. if not Settings.GetSaved("KeyBinds") then
  431. Settings.SetSaved("KeyBinds", {})
  432. end
  433.  
  434. spawn(function()
  435. while wait(10) do
  436. writefile("jbhaxx_settings.bin", game:GetService("HttpService"):JSONEncode(RealSavedSettings))
  437. end
  438. end)
  439. end
  440.  
  441. local Bypass = {}
  442. do
  443. function Bypass.Teleport(...)
  444. local Trigger = false
  445. if not Settings.Get("WalkSpeedEnabled") and not Settings.Get("JumpPowerEnabled") then
  446. Settings.Set("WalkSpeedEnabled", true)
  447. Trigger = true
  448.  
  449. wait(1)
  450. end
  451.  
  452. local HRP = Utils.GetCharacter().HumanoidRootPart
  453. HRP.CFrame = CFrame.new(Vector3.new(...))
  454.  
  455. if Trigger then
  456. wait(1)
  457.  
  458. Settings.Set("WalkSpeedEnabled", false)
  459. end
  460.  
  461. return
  462. end
  463.  
  464. function Bypass.WalkSpeed(Disable)
  465. if Disable then
  466. Utils.GetCharacter():WaitForChild'Humanoid'.WalkSpeed = 16
  467. else
  468. Utils.GetCharacter():WaitForChild'Humanoid'.WalkSpeed = Settings.GetSaved("WalkSpeed")
  469. end
  470. end
  471.  
  472. function Bypass.JumpPower(Disable)
  473. if Disable then
  474. Utils.GetCharacter():WaitForChild'Humanoid'.JumpPower = 50
  475. else
  476. Utils.GetCharacter():WaitForChild'Humanoid'.JumpPower = Settings.GetSaved("JumpPower")
  477. end
  478. end
  479.  
  480. function Bypass.Damage(Player)
  481. Remote.FireServer("Damage", Player.Character.Head.Position, Vector3.new(0, 0, 0), Player.Character.Head)
  482. end
  483.  
  484. function Bypass.Taser(Player)
  485. Remote.FireServer("Taser", Player.Name, Player.Character.Head, Player.Character.Head.Position)
  486. end
  487.  
  488. function Bypass.Arrest(Player)
  489. Remote.FireServer("Arrest", Player.Name)
  490. end
  491.  
  492. function Bypass.Eject(Car)
  493. Remote.FireServer("Eject", Car)
  494. end
  495.  
  496. Utils.NewCharacter(function()
  497. Bypass.WalkSpeed(not Settings.Get("WalkSpeedEnabled"))
  498. Bypass.JumpPower(not Settings.Get("JumpPowerEnabled"))
  499. end)
  500.  
  501. --Metatable hook
  502. loadstring([[
  503. local MT = getrawmetatable(game)
  504. local OldNewIndex = MT.__newindex
  505. setreadonly(MT, false)
  506.  
  507. MT.__newindex = newcclosure(function(T, K, V)
  508. if checkcaller() then return OldNewIndex(T, K, V) end
  509.  
  510. if K == "WalkSpeed" then return end
  511. if K == "JumpPower" then return end
  512.  
  513. return OldNewIndex(T, K, V)
  514. end)
  515.  
  516. setreadonly(MT, true)
  517. ]])()
  518.  
  519. --Disable ragdoll + nitro checks
  520. local BreakLoop = false
  521. local RagdollTable
  522. local ClientTable
  523. local SetNitro
  524. local KnowArrest
  525. for I,V in pairs(getreg()) do
  526. if BreakLoop then break end
  527. if type(V) == "function" and islclosure(V) then
  528. for I2,V2 in pairs(debug.getupvalues(V)) do
  529. if type(V2) == "table" and rawget(V2, "LastVehicleExit") then
  530. RagdollTable = V2
  531. BreakLoop = true
  532. break
  533. end
  534. end
  535. end
  536. end
  537.  
  538. BreakLoop = false
  539.  
  540. for I,V in pairs(getreg()) do
  541. if BreakLoop then break end
  542. if type(V) == "function" and islclosure(V) and not is_synapse_function(V) then
  543. for I2,V2 in pairs(debug.getupvalues(V)) do
  544. if I2 == AutoUpdate.Keys.ClientTable then
  545. ClientTable = V2
  546. BreakLoop = true
  547. break
  548. end
  549. end
  550. end
  551. end
  552.  
  553. for I,V in pairs(ClientTable) do
  554. if type(V) == "function" and not is_synapse_function(V) then
  555. for I2,V2 in pairs(debug.getconstants(V)) do
  556. if V2 == "%d/%d Fuel" then
  557. SetNitro = V
  558. end
  559. if V2 == "%s Cash" then
  560. KnowArrest = I
  561. end
  562. end
  563. end
  564. end
  565.  
  566. RagdollTable.LastVehicleExit = nil
  567.  
  568. setmetatable(RagdollTable,
  569. {
  570. __index = function(T, K)
  571. if K == "LastVehicleExit" then
  572. return tick() + 10
  573. end
  574.  
  575. return rawget(RagdollTable, K)
  576. end,
  577.  
  578. __newindex = function(T, K, V)
  579. if K == "LastVehicleExit" then
  580. rawset(RagdollTable, "LastVehicleExit", nil)
  581. return
  582. end
  583.  
  584. return rawset(RagdollTable, K, V)
  585. end
  586. })
  587.  
  588. local CurrentlyArresting = false
  589. local CurrentlyKilling = false
  590. local ArrestComplete = false
  591. local FirstArrest = true
  592. local ArrestBlacklist = {}
  593. local TpAuraBlacklist = {}
  594.  
  595. for I,V in pairs(Remote.EventList) do
  596. V.OnClientEvent:Connect(function(Key, ...)
  597. local Args = {...}
  598.  
  599. if CurrentlyArresting and Key == KnowArrest and Args[2] == "Arrest" then
  600. ArrestComplete = true
  601. end
  602. end)
  603. end
  604.  
  605. game:GetService("RunService").Stepped:Connect(function()
  606. if Settings.Get("InfNitro") then
  607. SetNitro(300, 300)
  608. end
  609.  
  610. local Char = Utils.GetCharacter()
  611. if Settings.Get("WalkSpeedEnabled") or Settings.Get("JumpPowerEnabled") then
  612. Remote.FireServer("Parachute")
  613. if Char:FindFirstChild("Parachute") then
  614. Char.Parachute:Destroy()
  615. end
  616. else
  617. Remote.FireServer("ExitParachute")
  618. end
  619.  
  620. if Settings.Get("NoClip") then
  621. Char.Humanoid:ChangeState(11)
  622. end
  623.  
  624. if Settings.Get("AutoArrest") and tostring(Utils.GetPlayer().Team) == "Police" then
  625. local Near = Utils.GetNearestPlayer(10000, true, false, true, ArrestBlacklist)
  626. if Near and not CurrentlyArresting then
  627. CurrentlyArresting = true
  628. spawn(function()
  629. ArrestBlacklist[Near] = true
  630. local Event
  631. Event = Near:GetPropertyChangedSignal("Team"):Connect(function()
  632. ArrestBlacklist[Near] = false
  633. Event:Disconnect()
  634. end)
  635. if not FirstArrest then
  636. if Utils.GetDistance(Char.HumanoidRootPart, Near.Character.HumanoidRootPart) > 150 then
  637. game:GetService("StarterGui"):SetCore("SendNotification",
  638. {
  639. Title = "JBHaxx AutoArrest",
  640. Text = "AutoArrest is waiting for the next arrest slot to be open. Please be patient.",
  641. Duration = 30
  642. })
  643.  
  644. wait(30)
  645. else
  646. game:GetService("StarterGui"):SetCore("SendNotification",
  647. {
  648. Title = "JBHaxx AutoArrest",
  649. Text = "AutoArrest is waiting for the next arrest slot to be open. Please be patient.",
  650. Duration = 5
  651. })
  652.  
  653. wait(5)
  654. end
  655. else
  656. FirstArrest = false
  657. end
  658. if not ArrestBlacklist[Near] then
  659. CurrentlyArresting = false
  660. ArrestComplete = false
  661. end
  662. local Pos = Near.Character.HumanoidRootPart.CFrame.p
  663. Bypass.Teleport(Pos.x, Pos.y, Pos.z)
  664. wait(3)
  665. while tostring(Near.Team) == "Criminal" and not ArrestComplete and Settings.Get("AutoArrest") do
  666. local Resolve = Utils.ResolveVehicle(Near)
  667. if Resolve then
  668. Bypass.Eject(Resolve)
  669. end
  670. Bypass.Taser(Near)
  671. Bypass.Arrest(Near)
  672. Utils.GetCharacter().HumanoidRootPart.CFrame = Near.Character.HumanoidRootPart.CFrame - Vector3.new(3, 0, 0)
  673. wait(3)
  674. end
  675. CurrentlyArresting = false
  676. ArrestComplete = false
  677. end)
  678. end
  679. end
  680.  
  681. if Settings.Get("TpAura") then
  682. local Near = Utils.GetNearestPlayer(10000, true, false, true, TpAuraBlacklist)
  683. if Near and not CurrentlyKilling then
  684. CurrentlyKilling = true
  685. spawn(function()
  686. TpAuraBlacklist[Near] = true
  687. local Event
  688. Event = Near.CharacterAdded:Connect(function()
  689. TpAuraBlacklist[Near] = false
  690. Event:Disconnect()
  691. end)
  692. local Pos = Near.Character.HumanoidRootPart.CFrame.p
  693. Bypass.Teleport(Pos.x, Pos.y, Pos.z)
  694. wait(0.2)
  695. while Near.Character.Humanoid.Health ~= 0 and Settings.Get("TpAura") do
  696. Bypass.Damage(Near)
  697. Utils.GetCharacter().HumanoidRootPart.CFrame = Near.Character.HumanoidRootPart.CFrame - Vector3.new(3, 0, 0)
  698. wait()
  699. end
  700. CurrentlyKilling = false
  701. end)
  702. end
  703. end
  704.  
  705. if Settings.Get("KillAura") then
  706. local Near = Utils.GetNearestPlayer(100, true, false, true)
  707. if Near then
  708. Bypass.Damage(Near)
  709. end
  710. end
  711. end)
  712.  
  713. Remote.AddHook("Bullet", function()
  714. if Settings.Get("TriggerBot") then
  715. local Near = Utils.GetNearestPlayer(100, true, false, true)
  716. if Near then
  717. Bypass.Damage(Near)
  718. end
  719. end
  720. end)
  721.  
  722. local Mouse = Utils.GetPlayer():GetMouse()
  723.  
  724. Mouse.Button1Down:connect(function()
  725. if Settings.Get("ClickTeleport") then
  726. local V3 = Mouse.Hit.p + Vector3.new(0, 2, 0)
  727. Bypass.Teleport(V3.x, V3.y, V3.z)
  728. end
  729. end)
  730. end
  731.  
  732. local UI = {}
  733. do
  734. local Render = loadstring(game:HttpGet("[STR_ENCRYPT]https://cdn.synapse.to/synapsedistro/hub/HaxxMenu.lua", true))()
  735. loadstring(game:HttpGet("[STR_ENCRYPT]https://cdn.synapse.to/synapsedistro/hub/ESPLib.lua", true))()
  736. local ESPLib = shared.uESP
  737. ESPLib.Enabled = false
  738. ESPLib.Settings.DrawTracers = false
  739.  
  740. local RenderSettings =
  741. {
  742. ['Theme'] =
  743. {
  744. ['Main'] = Color3.fromRGB(171, 71, 188),
  745. ['Background'] = Color3.fromRGB(0, 0, 0),
  746. ['TextColor'] = Color3.fromRGB(255, 255, 255)
  747. },
  748. ['WindowCount'] = -1,
  749. ['Draggable'] = true,
  750. ['Keybind'] = Enum.KeyCode.RightShift
  751. }
  752.  
  753. local Menu = Render.CreateMenu(RenderSettings)
  754. local MenuOptions = Menu.MenuOptions
  755.  
  756. local CombatMenu = MenuOptions.CreateWindow("Combat")
  757. local MovementMenu = MenuOptions.CreateWindow("Movement")
  758. local RenderMenu = MenuOptions.CreateWindow("Render")
  759. local TeleportsMenu = MenuOptions.CreateWindow("Teleports")
  760. local UtilityMenu = MenuOptions.CreateWindow("Utility")
  761. local SettingsMenu = MenuOptions.CreateWindow("Settings")
  762.  
  763. local TpAura = CombatMenu.Add("toggle", "TpAura")
  764. local KillAura = CombatMenu.Add("toggle", "KillAura")
  765. local TriggerBot = CombatMenu.Add("toggle", "Trigger Bot")
  766. local AutoArrest = CombatMenu.Add("toggle", "Auto Arrest")
  767. local InfAmmo = CombatMenu.Add("clickable", "Infinite Ammo")
  768. local MachinePistol = CombatMenu.Add("clickable", "Machine Pistol")
  769.  
  770. local Speed = MovementMenu.Add("toggle", "Speed")
  771. local SuperJump = MovementMenu.Add("toggle", "Super Jump")
  772. local NoClip = MovementMenu.Add("toggle", "NoClip")
  773. local ClickTeleport = MovementMenu.Add("toggle", "Click Teleport")
  774.  
  775. local ESP = RenderMenu.Add("toggle", "ESP")
  776. local Tracers = RenderMenu.Add("toggle", "Tracers")
  777.  
  778. local CrimBase = TeleportsMenu.Add("clickable", "Criminal Base")
  779. local DonutShop = TeleportsMenu.Add("clickable", "Donut Shop")
  780. local Jail = TeleportsMenu.Add("clickable", "Jail")
  781. local Jewelry = TeleportsMenu.Add("clickable", "Jewelry")
  782. local Bank = TeleportsMenu.Add("clickable", "Bank")
  783. local GasStation = TeleportsMenu.Add("clickable", "Gas Station")
  784. local Museum = TeleportsMenu.Add("clickable", "Museum")
  785.  
  786. local InfNitro = UtilityMenu.Add("toggle", "Infinite Nitro")
  787.  
  788. local SpeedPlus = SettingsMenu.Add("clickable", "Speed +")
  789. local SpeedMinus = SettingsMenu.Add("clickable", "Speed -")
  790. local SuperJumpPlus = SettingsMenu.Add("clickable", "Super Jump +")
  791. local SuperJumpMinus = SettingsMenu.Add("clickable", "Super Jump -")
  792. local DisableBlur = SettingsMenu.Add("toggle", "Disable Blur")
  793.  
  794. CrimBase.Callback = function()
  795. Bypass.Teleport(-226, 18, 1590)
  796. end
  797.  
  798. DonutShop.Callback = function()
  799. Bypass.Teleport(268, 18, -1760)
  800. end
  801.  
  802. Jail.Callback = function()
  803. Bypass.Teleport(-1133, 18, -1355)
  804. end
  805.  
  806. Jewelry.Callback = function()
  807. Bypass.Teleport(142, 18, 1365)
  808. end
  809.  
  810. Bank.Callback = function()
  811. Bypass.Teleport(10, 18, 784)
  812. end
  813.  
  814. GasStation.Callback = function()
  815. Bypass.Teleport(-1583, 18, 724)
  816. end
  817.  
  818. Museum.Callback = function()
  819. Bypass.Teleport(1158, 102, 1272)
  820. end
  821.  
  822. InfNitro.Callback = function(Type, Name, Value)
  823. Settings.Set("InfNitro", Value)
  824. end
  825.  
  826. DisableBlur.Callback = function(Type, Name, Value)
  827. Menu.SetBlur(not Value)
  828. end
  829.  
  830. Speed.Callback = function(Type, Name, Value)
  831. Bypass.WalkSpeed(not Value)
  832. Settings.Set("WalkSpeedEnabled", Value)
  833. end
  834.  
  835. SuperJump.Callback = function(Type, Name, Value)
  836. Bypass.JumpPower(not Value)
  837. Settings.Set("JumpPowerEnabled", Value)
  838. end
  839.  
  840. NoClip.Callback = function(Type, Name, Value)
  841. Settings.Set("NoClip", Value)
  842. end
  843.  
  844. ClickTeleport.Callback = function(Type, Name, Value)
  845. Settings.Set("ClickTeleport", Value)
  846. end
  847.  
  848. AutoArrest.Callback = function(Type, Name, Value)
  849. Settings.Set("AutoArrest", Value)
  850. end
  851.  
  852. TpAura.Callback = function(Type, Name, Value)
  853. Settings.Set("TpAura", Value)
  854. end
  855.  
  856. KillAura.Callback = function(Type, Name, Value)
  857. Settings.Set("KillAura", Value)
  858. end
  859.  
  860. TriggerBot.Callback = function(Type, Name, Value)
  861. Settings.Set("TriggerBot", Value)
  862. end
  863.  
  864. ESP.Callback = function(Type, Name, Value)
  865. ESPLib.Enabled = Value
  866. end
  867.  
  868. Tracers.Callback = function(Type, Name, Value)
  869. ESPLib.Settings.DrawTracers = Value
  870. end
  871.  
  872. InfAmmo.Callback = function()
  873. for I,V in pairs(getreg()) do
  874. if type(V) == "function" and islclosure(V) then
  875. for I2,V2 in pairs(debug.getupvalues(V)) do
  876. if type(V2) == "table" and rawget(V2, "AmmoCurrent") then
  877. V2.AmmoCurrent = math.huge
  878. end
  879.  
  880. if type(V2) == "table" and rawget(V2, "Pistol") then
  881. for I3,V3 in pairs(V2) do
  882. if rawget(V3, "FireFreq") then
  883. V3.MagSize = math.huge
  884. end
  885. end
  886. end
  887. end
  888. end
  889. end
  890. end
  891.  
  892. MachinePistol.Callback = function()
  893. for I,V in pairs(getreg()) do
  894. if type(V) == "function" and islclosure(V) then
  895. for I2,V2 in pairs(debug.getupvalues(V)) do
  896. if type(V2) == "table" and rawget(V2, "Pistol") then
  897. for I3,V3 in pairs(V2) do
  898. if rawget(V3, "FireFreq") then
  899. V3.FireFreq = math.huge
  900. V3.CamShakeMagnitude = 1
  901. V3.FireAuto = true
  902. end
  903. end
  904. end
  905. end
  906. end
  907. end
  908. end
  909.  
  910. SpeedPlus.Callback = function()
  911. Settings.SetSaved("WalkSpeed", Settings.GetSaved("WalkSpeed") + 20)
  912. if Settings.Get("WalkSpeedEnabled") then
  913. Bypass.WalkSpeed()
  914. end
  915. end
  916.  
  917. SpeedMinus.Callback = function()
  918. if (0 > Settings.GetSaved("WalkSpeed") - 20) then return end
  919. Settings.SetSaved("WalkSpeed", Settings.GetSaved("WalkSpeed") - 20)
  920. if Settings.Get("WalkSpeedEnabled") then
  921. Bypass.WalkSpeed()
  922. end
  923. end
  924.  
  925. SuperJumpPlus.Callback = function()
  926. Settings.SetSaved("JumpPower", Settings.GetSaved("JumpPower") + 20)
  927. if Settings.Get("JumpPowerEnabled") then
  928. Bypass.JumpPower()
  929. end
  930. end
  931.  
  932. SuperJumpMinus.Callback = function()
  933. if (0 > Settings.GetSaved("JumpPower") - 20) then return end
  934. Settings.SetSaved("JumpPower", Settings.GetSaved("JumpPower") - 20)
  935. if Settings.Get("JumpPowerEnabled") then
  936. Bypass.JumpPower()
  937. end
  938. end
  939.  
  940. for I,V in pairs(Settings.GetSaved("Active")) do
  941. if V then
  942. Menu.EmulateToggle(I)
  943. end
  944. end
  945.  
  946. for I,V in pairs(Settings.GetSaved("KeyBinds")) do
  947. Menu.EmulateKeyBind(I, Enum.KeyCode[V])
  948. end
  949.  
  950. spawn(function()
  951. while wait(5) do
  952. local RealKeyBinds = {}
  953. for I,V in pairs(Menu.GetKeyBinds()) do
  954. RealKeyBinds[I] = V["Key"].Name
  955. end
  956. Settings.SetSaved("KeyBinds", RealKeyBinds)
  957. Settings.SetSaved("Active", Menu.GetActive())
  958. end
  959. end)
  960. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement