dogguy69

INFINITY HEALTH

Jul 25th, 2022
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.03 KB | None | 0 0
  1. --[[
  2. Made by LeadMarker#1219
  3. Dont skid this or there will be legal action
  4. --]]
  5.  
  6. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/JRL-lav/Scripts/main/U"))()
  7. local Window = Library:CreateWindow("Kronos | Demonfall")
  8.  
  9. -- // Pre Scripts
  10. game:GetService("UserInputService").MouseIconEnabled = true
  11. game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.Default
  12.  
  13. for i,v in pairs(getconnections(game.Players.LocalPlayer.Idled)) do
  14. v:Disable()
  15. end
  16.  
  17.  
  18. -- // Vars \\ --
  19. local plr = game:GetService("Players").LocalPlayer
  20. local TweenService = game:GetService("TweenService")
  21. local noclipE = false
  22. local antifall = nil
  23. local Settings = {}
  24.  
  25. local function noclip()
  26. for i, v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  27. if v:IsA("BasePart") and v.CanCollide == true then
  28. v.CanCollide = false
  29. end
  30. end
  31. end
  32.  
  33. local function moveto(obj, speed)
  34. local info = TweenInfo.new(((game.Players.LocalPlayer.Character.HumanoidRootPart.Position - obj.Position).Magnitude)/ speed,Enum.EasingStyle.Linear)
  35. local tween = TweenService:Create(game.Players.LocalPlayer.Character.HumanoidRootPart, info, {CFrame = obj})
  36.  
  37. if not game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyVelocity") then
  38. antifall = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.HumanoidRootPart)
  39. antifall.Velocity = Vector3.new(0,0,0)
  40. noclipE = game:GetService("RunService").Stepped:Connect(noclip)
  41. tween:Play()
  42. end
  43.  
  44. tween.Completed:Connect(function()
  45. antifall:Destroy()
  46. noclipE:Disconnect()
  47. end)
  48. end
  49.  
  50. -- // Farming \\ --
  51. local farm = Window:AddFolder("Farm")
  52. local mob_list = {
  53. -- Demon List
  54. "Green Demon",
  55. "GenericOni",
  56. "FrostyOni",
  57. "Blue Demon",
  58. "SlayerBoss",
  59. "Lower Moon 3",
  60. "Kaigaku",
  61. "Okuro",
  62.  
  63. -- Slayer List
  64. "GenericSlayer",
  65. "Zenitsu",
  66. }
  67.  
  68. farm:AddList({
  69. text = "Select Mob",
  70. values = mob_list,
  71. callback = function(v)
  72. Settings["ChosenMob"] = v
  73. end
  74. })
  75.  
  76. farm:AddToggle({
  77. text = "Autofarm",
  78. state = false,
  79. callback = function(v)
  80. Settings["autofarm"] = v
  81. end
  82. })
  83.  
  84. farm:AddSlider({
  85. text = "TP Speed",
  86. value = 75,
  87. min = 30,
  88. max = 100,
  89. float = 1,
  90. callback = function(v)
  91. Settings["TpSpeed"] = v
  92. end
  93. })
  94.  
  95. farm:AddToggle({
  96. text = "AutoBreathe",
  97. state = false,
  98. callback = function(v)
  99. Settings["AutoBreathe"] = v
  100. if not v then
  101. game:GetService("ReplicatedStorage").Remotes.Async:FireServer("Character", "Breath", false)
  102. end
  103. end
  104. })
  105.  
  106. farm:AddToggle({
  107. text = "Equip-Sword",
  108. state = false,
  109. callback = function(v)
  110. Settings["AutoSword"] = v
  111. end
  112. })
  113.  
  114. local function getMob()
  115. local dist, mob = math.huge
  116. for i,v in pairs(workspace:GetChildren()) do
  117. if v:IsA("Model") and v.Name == Settings.ChosenMob then
  118. local get_mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v:GetModelCFrame().p).magnitude
  119. if get_mag < dist then
  120. dist = get_mag
  121. mob = v
  122. end
  123. end
  124. end
  125. return mob
  126. end
  127.  
  128. spawn(function()
  129. while wait() do
  130. if Settings.autofarm then
  131. pcall(function()
  132. local enemy_mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getMob():GetModelCFrame().p).magnitude
  133.  
  134. if not getMob():FindFirstChild("Executed") then
  135. moveto(getMob():GetModelCFrame() * CFrame.new(0,0,3), tonumber(Settings.TpSpeed or 75))
  136. end
  137.  
  138. if getMob():FindFirstChild("Executed") then
  139. wait(1)
  140. getMob():Destroy()
  141. end
  142.  
  143. if getMob():FindFirstChild("Down") then
  144. moveto(getMob():GetModelCFrame() * CFrame.new(0,0,3), tonumber(Settings.TpSpeed or 75))
  145. game:GetService("ReplicatedStorage").Remotes.Sync:InvokeServer("Character", "Execute")
  146. end
  147.  
  148. if enemy_mag <= 10 then
  149. if getMob():FindFirstChild("Block") then
  150. game:GetService("ReplicatedStorage").Remotes.Async:FireServer("Combat", "Heavy")
  151. else
  152. game:GetService("ReplicatedStorage").Remotes.Async:FireServer("Combat", "Server")
  153. end
  154. end
  155. end)
  156. end
  157. end
  158. end)
  159.  
  160. spawn(function()
  161. while wait() do
  162. if Settings.AutoBreathe then
  163. if game.Players.LocalPlayer.Character:FindFirstChild("Busy") then
  164. game.Players.LocalPlayer.Character:FindFirstChild("Busy"):Destroy()
  165. end
  166.  
  167. if game.Players.LocalPlayer.Character:FindFirstChild("Slow") then
  168. game.Players.LocalPlayer.Character:FindFirstChild("Slow"):Destroy()
  169. end
  170. end
  171. end
  172. end)
  173.  
  174. spawn(function()
  175. while wait() do
  176. if Settings.AutoBreathe then
  177. if game:GetService("Players").LocalPlayer.Breathing.Value ~= 100 then
  178. game:GetService("ReplicatedStorage").Remotes.Async:FireServer("Character", "Breath", true)
  179. end
  180. wait(2)
  181. end
  182. end
  183. end)
  184.  
  185. spawn(function()
  186. while wait() do
  187. if Settings.AutoSword then
  188. pcall(function()
  189. if game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Model"):FindFirstChild("Blade") then
  190. if game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Model"):FindFirstChild("Equipped").Part0 == nil then
  191. game:GetService("VirtualInputManager"):SendKeyEvent(true, "R", false, game)
  192. end
  193. end
  194. end)
  195. end
  196. end
  197. end)
  198.  
  199. farm:AddLabel({text = "--Skils"})
  200.  
  201. farm:AddToggle({text = "Skill-1",state = false,callback = function(v) Settings["Skill-1"] = v end})
  202. farm:AddToggle({text = "Skill-2",state = false,callback = function(v) Settings["Skill-2"] = v end})
  203. farm:AddToggle({text = "Skill-3",state = false,callback = function(v) Settings["Skill-3"] = v end})
  204. farm:AddToggle({text = "Skill-4",state = false,callback = function(v) Settings["Skill-4"] = v end})
  205. farm:AddToggle({text = "Skill-5",state = false,callback = function(v) Settings["Skill-5"] = v end})
  206. farm:AddToggle({text = "Skill-6",state = false,callback = function(v) Settings["Skill-6"] = v end})
  207. farm:AddToggle({text = "Skill-7",state = false,callback = function(v) Settings["Skill-7"] = v end})
  208.  
  209. pcall(function()
  210. spawn(function()
  211. while wait() do
  212. if Settings.autofarm then
  213. local mobmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getMob():GetModelCFrame().p).magnitude
  214. if mobmag <= 10 then
  215. if Settings["Skill-1"] then
  216. game:GetService("VirtualInputManager"):SendKeyEvent(true, "One", false, game)
  217. wait(5)
  218. end
  219. end
  220. end
  221. end
  222. end)
  223. spawn(function()
  224. while wait() do
  225. if Settings.autofarm then
  226. local mobmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getMob():GetModelCFrame().p).magnitude
  227. if mobmag <= 10 then
  228. if Settings["Skill-2"] then
  229. game:GetService("VirtualInputManager"):SendKeyEvent(true, "Two", false, game)
  230. wait(5)
  231. end
  232. end
  233. end
  234. end
  235. end)
  236. spawn(function()
  237. while wait() do
  238. if Settings.autofarm then
  239. local mobmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getMob():GetModelCFrame().p).magnitude
  240. if mobmag <= 10 then
  241. if Settings["Skill-3"] then
  242. game:GetService("VirtualInputManager"):SendKeyEvent(true, "Three", false, game)
  243. wait(5)
  244. end
  245. end
  246. end
  247. end
  248. end)
  249. spawn(function()
  250. while wait() do
  251. if Settings.autofarm then
  252. local mobmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getMob():GetModelCFrame().p).magnitude
  253. if mobmag <= 10 then
  254. if Settings["Skill-4"] then
  255. game:GetService("VirtualInputManager"):SendKeyEvent(true, "Four", false, game)
  256. wait(5)
  257. end
  258. end
  259. end
  260. end
  261. end)
  262. spawn(function()
  263. while wait() do
  264. if Settings.autofarm then
  265. local mobmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getMob():GetModelCFrame().p).magnitude
  266. if mobmag <= 10 then
  267. if Settings["Skill-5"] then
  268. game:GetService("VirtualInputManager"):SendKeyEvent(true, "Five", false, game)
  269. wait(5)
  270. end
  271. end
  272. end
  273. end
  274. end)
  275. spawn(function()
  276. while wait() do
  277. if Settings.autofarm then
  278. local mobmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getMob():GetModelCFrame().p).magnitude
  279. if mobmag <= 10 then
  280. if Settings["Skill-6"] then
  281. game:GetService("VirtualInputManager"):SendKeyEvent(true, "Six", false, game)
  282. wait(5)
  283. end
  284. end
  285. end
  286. end
  287. end)
  288. spawn(function()
  289. while wait() do
  290. if Settings.autofarm then
  291. local mobmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getMob():GetModelCFrame().p).magnitude
  292. if mobmag <= 10 then
  293. if Settings["Skill-7"] then
  294. game:GetService("VirtualInputManager"):SendKeyEvent(true, "Seven", false, game)
  295. wait(5)
  296. end
  297. end
  298. end
  299. end
  300. end)
  301. end)
  302.  
  303. -- // Misc / Extra \\ --
  304. local misc = Window:AddFolder("Misc / Extra")
  305. misc:AddToggle({
  306. text = "NoFall",
  307. state = false,
  308. callback = function(v)
  309. Settings["NoFall"] = v
  310. end
  311. })
  312.  
  313. misc:AddToggle({
  314. text = "Anti Sun Burn",
  315. state = false,
  316. callback = function(v)
  317. Settings["AntiSun"] = v
  318. end
  319. })
  320.  
  321. misc:AddToggle({
  322. text = "Anti Crow",
  323. state = false,
  324. callback = function(v)
  325. Settings["AntiCrow"] = v
  326. end
  327. })
  328.  
  329. local nofall
  330. nofall = hookmetamethod(game, "__namecall", function(self, ...)
  331. local method = getnamecallmethod()
  332. local args = {...}
  333.  
  334. if method == "FireServer" and tostring(self) == "Async" and args[1] == "Character" and args[2] == "FallDamageServer" and Settings.NoFall then
  335. return nil
  336. end
  337.  
  338. if method == "FireServer" and tostring(self) == "Async" and args[1] == "Character" and args[2] == "DemonWeakness" and Settings.AntiSun then
  339. return nil
  340. end
  341.  
  342. if method == "FireServer" and tostring(self) == "Async" and args[1] == "Character" and args[2] == "Crow" and Settings.AntiCrow then
  343. return nil
  344. end
  345.  
  346. return nofall(self, ...)
  347. end)
  348.  
  349. misc:AddToggle({
  350. text = "Trinket Farm",
  351. state = false,
  352. callback = function(v)
  353. Settings["TrinketFarm"] = v
  354. end
  355. })
  356.  
  357. local function getTrinket()
  358. local dist, trin = math.huge
  359. for i,v in pairs(workspace:GetChildren()) do
  360. if v:IsA("Model") and v:FindFirstChild("PickableItem") and v:FindFirstChild("Part") then
  361. local mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v:FindFirstChild("Part").Position).magnitude
  362. if mag < dist then
  363. dist = mag
  364. trin = v
  365. end
  366. end
  367. end
  368. return trin
  369. end
  370.  
  371. spawn(function()
  372. while wait() do
  373. if Settings.TrinketFarm then
  374. local trinmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getTrinket():FindFirstChild("Part").Position).magnitude
  375. if trinmag <= 20 then
  376. for i,v in pairs(workspace:GetChildren()) do
  377. if v:IsA("Model") and v:FindFirstChild("PickableItem") and v:FindFirstChild("Part") then
  378. local partmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v:FindFirstChild("Part").Position).magnitude
  379. if partmag < 20 then
  380. game:GetService("ReplicatedStorage").Remotes.Async:FireServer("Character", "Interaction", v.Part)
  381. end
  382. end
  383. end
  384. else
  385. moveto(getTrinket():FindFirstChild("Part").CFrame, tonumber(Settings.TpSpeed or 75))
  386. end
  387. end
  388. end
  389. end)
  390.  
  391. misc:AddToggle({
  392. text = "ChatLogger",
  393. state = false,
  394. callback = function(v)
  395. if v then
  396. plr.PlayerGui.Chat.Frame.ChatChannelParentFrame.Visible = true
  397. else
  398. plr.PlayerGui.Chat.Frame.ChatChannelParentFrame.Visible = false
  399. end
  400. end
  401. })
  402.  
  403. local function InfJump(inputObject, gameProcessedEvent)
  404. if inputObject.KeyCode == Enum.KeyCode.Space then
  405. game.Players.LocalPlayer.Character.Humanoid:ChangeState(3)
  406. end
  407. end
  408.  
  409. local connection
  410. misc:AddToggle({
  411. text = "InfJump",
  412. state = false,
  413. callback = function(v)
  414. if v then
  415. connection = game:GetService("UserInputService").InputBegan:connect(InfJump)
  416. else
  417. if connection then
  418. connection:Disconnect()
  419. end
  420. end
  421. end
  422. })
  423.  
  424. local noclipT
  425. misc:AddToggle({
  426. text = "NoClip",
  427. state = false,
  428. callback = function(v)
  429. if v then
  430. noclipT = game:GetService("RunService").Stepped:Connect(noclip)
  431. else
  432. if noclipT then
  433. noclipT:Disconnect()
  434. end
  435. end
  436. end
  437. })
  438.  
  439. misc:AddToggle({
  440. text = "Anti-Combat",
  441. state = false,
  442. callback = function(v)
  443. Settings["AntiCombat"] = v
  444. end
  445. })
  446.  
  447. local baditems = {
  448. "Combat",
  449. "Stun",
  450. "Damaged",
  451. "downCooldown",
  452. "Cooldown"
  453. }
  454.  
  455. spawn(function()
  456. while wait() do
  457. if Settings.AntiCombat then
  458. pcall(function()
  459. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  460. if table.find(baditems, v.Name) then
  461. v:Destroy()
  462. end
  463. end
  464. end)
  465. end
  466. end
  467. end)
  468.  
  469. misc:AddToggle({
  470. text = "Pickup-Aura",
  471. state = false,
  472. callback = function(v)
  473. Settings["PickupAura"] = v
  474. end
  475. })
  476.  
  477. spawn(function()
  478. while wait() do
  479. if Settings.PickupAura then
  480. pcall(function()
  481. for i,v in pairs(workspace:GetChildren()) do
  482. if v.Name == "DropItem" then
  483. local partmag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude
  484. if partmag < 20 then
  485. game:GetService("ReplicatedStorage").Remotes.Async:FireServer("Character", "Interaction", v)
  486. end
  487. end
  488. end
  489. end)
  490. end
  491. end
  492. end)
  493.  
  494. misc:AddToggle({
  495. text = "AutoGourd",
  496. state = false,
  497. callback = function(v)
  498. Settings["AutoGourd"] = v
  499. end
  500. })
  501.  
  502. spawn(function()
  503. while wait(0.1) do
  504. if Settings.AutoGourd then
  505. pcall(function()
  506. game:GetService("VirtualInputManager"):SendMouseButtonEvent(500, 500, 0, true, game, 1)
  507. game:GetService("ReplicatedStorage").Remotes.Sync:InvokeServer("Clay", "Server2")
  508. end)
  509. end
  510. end
  511. end)
  512.  
  513. misc:AddToggle({
  514. text = "Enhance-Visuals",
  515. callback = function(v)
  516. Settings["Visuals"] = v
  517. pcall(function()
  518. game.Lighting.SunRays.Enabled = false
  519. game.Lighting.ColorCorrection.Enabled = false
  520. game.Lighting.Blur.Enabled = false
  521. game.Lighting.Bloom.Enabled = false
  522.  
  523. for i,v in pairs(game.Lighting:GetChildren()) do
  524. if v.Name == "Atmosphere" then
  525. v.Density = 0
  526. v.Glare = 0
  527. v.Haze = 0
  528. end
  529. end
  530. game.Lighting.Blind:Destroy()
  531. end)
  532. end
  533. })
  534.  
  535. spawn(function()
  536. while wait(1) do
  537. if Settings.Visuals then
  538. game.Lighting.SunRays.Enabled = false
  539. game.Lighting.ColorCorrection.Enabled = false
  540. game.Lighting.Blur.Enabled = false
  541. game.Lighting.Bloom.Enabled = false
  542.  
  543. for i,v in pairs(game.Lighting:GetChildren()) do
  544. if v.Name == "Atmosphere" then
  545. v.Density = 0
  546. v.Glare = 0
  547. v.Haze = 0
  548. end
  549. end
  550. if game.Lighting:FindFirstChild("Blind") then
  551. game.Lighting:FindFirstChild("Blind"):Destroy()
  552. end
  553. if workspace:FindFirstChild("Folder") and workspace:FindFirstChild("Folder"):FindFirstChild("Part") then
  554. workspace:FindFirstChild("Folder"):Destroy()
  555. end
  556. end
  557. end
  558. end)
  559.  
  560. misc:AddLabel({text = "---Turn off NoFall---"})
  561.  
  562. misc:AddButton({
  563. text = "GodMode",
  564. callback = function()
  565. pcall(function()
  566. game:GetService("ReplicatedStorage").Remotes.Async:FireServer("Character", "FallDamageServer", "nan(ind)")
  567. end)
  568. end
  569. })
  570.  
  571. misc:AddButton({
  572. text = "NormalHealth (Kills You)",
  573. callback = function()
  574. pcall(function()
  575. game:GetService("ReplicatedStorage").Remotes.Async:FireServer("Character", "FallDamageServer", 99999999999999999999999999999999999999999999999999999999999999999999)
  576. end)
  577. end
  578. })
  579.  
  580. misc:AddLabel({text = "---Turn off NoFall---"})
  581. -- // Players \\ --
  582. local plrs = Window:AddFolder("Players")
  583. plrs:AddLabel({text = "----LocalPlayer Items"})
  584.  
  585. local mt = getrawmetatable(game)
  586. local index = mt.__newindex
  587.  
  588. plrs:AddSlider({
  589. text = "WalkSpeed",
  590. value = 18,
  591. min = 18,
  592. max = 150,
  593. float = 1,
  594. callback = function(v)
  595. Settings["WalkSpeed"] = v
  596. end
  597. })
  598.  
  599. plrs:AddToggle({
  600. text = "Enable WalkSpeed",
  601. state = false,
  602. callback = function(v)
  603. Settings["TogWalk"] = v
  604. end
  605. })
  606.  
  607.  
  608. plrs:AddSlider({
  609. text = "JumpPower",
  610. value = 60,
  611. min = 60,
  612. max = 100,
  613. float = 1,
  614. callback = function(v)
  615. Settings["JumpPower"] = v
  616. end
  617. })
  618.  
  619. plrs:AddToggle({
  620. text = "Enable JumpPower",
  621. state = false,
  622. callback = function(v)
  623. Settings["TogJump"] = v
  624. end
  625. })
  626.  
  627. plrs:AddSlider({
  628. text = "Inf EXP",
  629. value = 18222222222222222222222222222222222,
  630. min = 1,
  631. max = 9,
  632. callback = function(v)
  633. Settings["Experience
  634. end
  635. })
  636.  
  637. plrs:AddToggle({
  638. text = "Inf Experience"
  639. state = false,
  640. callback = function(v)
  641. Settings["Experience"
  642. end
  643. })
  644.  
  645. setreadonly(mt, false)
  646. mt.__newindex = newcclosure(function(f,i,v)
  647. if tostring(f) == "Humanoid" and tostring(i) == "WalkSpeed" and Settings.TogWalk then
  648. return index(f,i,Settings.WalkSpeed)
  649. end
  650.  
  651. if tostring(f) == "Humanoid" and tostring(i) == "JumpPower" and Settings.TogJump then
  652. return index(f,i,Settings.JumpPower)
  653. end
  654.  
  655. return index(f,i,v)
  656. end)
  657. setreadonly(mt, true)
  658.  
  659.  
  660. plrs:AddLabel({text = "----Player Items"})
  661. local plr_table = {}
  662. for i,v in pairs(game.Players:GetPlayers()) do
  663. if not table.find(plr_table, v.Name) then
  664. table.insert(plr_table, v.Name)
  665. end
  666. end
  667.  
  668. local plr_drop = plrs:AddList({
  669. text = "Select Player",
  670. values = plr_table,
  671. callback = function(v)
  672. Settings["ChosenPlayer"] = v
  673. end
  674. })
  675.  
  676. plrs:AddButton({
  677. text = "Refresh Players",
  678. callback = function()
  679. table.clear(plr_table)
  680. plr_drop:RemoveAll()
  681.  
  682. for i,v in pairs(game.Players:GetPlayers()) do
  683. if not table.find(plr_table, v.Name) then
  684. table.insert(plr_table, v.Name)
  685. end
  686. end
  687.  
  688. for i,v in pairs(plr_table) do
  689. plr_drop:AddValue(tostring(v))
  690. end
  691. end
  692. })
  693.  
  694. plrs:AddToggle({
  695. text = "Spectate",
  696. state = false,
  697. callback = function(v)
  698. if v then
  699. workspace.Camera.CameraSubject = game.Players:FindFirstChild(Settings.ChosenPlayer).Character.Humanoid
  700. else
  701. workspace.Camera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  702. end
  703. end
  704. })
  705.  
  706. plrs:AddButton({
  707. text = "Teleport",
  708. callback = function()
  709. moveto(game.Players:FindFirstChild(Settings.ChosenPlayer).Character.HumanoidRootPart.CFrame, tonumber(Settings.TpSpeed or 75))
  710. end
  711. })
  712.  
  713. -- // Teleports \\ --
  714. local tele = Window:AddFolder("Teleports")
  715. local breath_style = {
  716. ["SunBreath"] = "Tanjiro",
  717. ["MoonBreath"] = "Kokushibo",
  718. ["WaterBreath"] = "Urokodaki",
  719. ["ThunderBreath"] = "Kujima",
  720. ["FlameBreath"] = "Rengoku",
  721. ["WindBreath"] = "Grimm",
  722. ["MistBreath"] = "Tokito",
  723. ["InsectBreath"] = "Shinobu",
  724. ["SoundBreath"] = "Uzui",
  725. }
  726. local breath_names = {}
  727. for i,v in pairs(breath_style) do
  728. table.insert(breath_names, i)
  729. end
  730.  
  731. tele:AddList({
  732. text = "Select Breathing",
  733. values = breath_names,
  734. callback = function(v)
  735. Settings["ChosenBreathing"] = v
  736. end
  737. })
  738.  
  739. tele:AddButton({
  740. text = "Teleport Breathing",
  741. callback = function()
  742. moveto(workspace.Npcs:FindFirstChild(breath_style[Settings.ChosenBreathing]):GetModelCFrame(), tonumber(Settings.TpSpeed or 75))
  743. end
  744. })
  745.  
  746. local npc_list = {}
  747. for i,v in pairs(workspace.Npcs:GetChildren()) do
  748. if v:IsA("Model") and not table.find(npc_list, v.Name) then
  749. table.insert(npc_list, v.Name)
  750. end
  751. end
  752.  
  753. tele:AddList({
  754. text = "Select NPC",
  755. values = npc_list,
  756. callback = function(v)
  757. Settings["ChosenNPC"] = v
  758. end
  759. })
  760.  
  761. tele:AddButton({
  762. text = "Teleport NPC",
  763. callback = function()
  764. moveto(workspace.Npcs:FindFirstChild(Settings.ChosenNPC):GetModelCFrame(), tonumber(Settings.TpSpeed or 75))
  765. end
  766. })
  767.  
  768. -- // Ores \\ --
  769. local ores = Window:AddFolder("Ores")
  770. local ore_list = {
  771. "Sun Ore",
  772. "Iron Ore"
  773. }
  774. ores:AddList({
  775. text = "Select Ore",
  776. values = ore_list,
  777. callback = function(v)
  778. Settings["ChosenOre"] = v
  779. end
  780. })
  781.  
  782. ores:AddToggle({
  783. text = "FarmOre",
  784. state = false,
  785. callback = function(v)
  786. Settings["FarmOre"] = v
  787. end
  788. })
  789.  
  790. local function getOre()
  791. local dist, ore = math.huge
  792. for i,v in pairs(game:GetService("Workspace").Map.Minerals:GetDescendants()) do
  793. if v.Name == "MineralName" and v.Value == Settings.ChosenOre then
  794. local oremag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Parent.Position).magnitude
  795. if oremag < dist then
  796. dist = oremag
  797. ore = v.Parent
  798. end
  799. end
  800. end
  801. return ore
  802. end
  803.  
  804. spawn(function()
  805. while wait() do
  806. if Settings.FarmOre then
  807. local ore_mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - getOre().Position).magnitude
  808. if ore_mag <= 5 then
  809. game:GetService("ReplicatedStorage").Remotes.Sync:InvokeServer("Pickaxe", "Server")
  810. else
  811. moveto(getOre().CFrame, tonumber(Settings.TpSpeed or 75))
  812. end
  813. end
  814. end
  815. end)
  816.  
  817. -- // Credits \\ --
  818. local cred = Window:AddFolder("Credits")
  819. cred:AddButton({text = "LeadMarker#1219", callback = function()
  820. setclipboard("LeadMarker#1219")
  821. end})
  822. cred:AddButton({text = "Discord", callback = function()
  823. setclipboard("discord.gg/8Cj5abGrNv")
  824. end})
  825.  
  826. cred:AddLabel({text = "GodMode|CandyLean#2645"})
  827.  
  828.  
  829. -- // Init \\ --
  830. Library:Init()
Add Comment
Please, Sign In to add comment