Advertisement
spidey_v6

Untitled

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