Ameno__GodOH

chdr

Oct 23rd, 2024
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.02 KB | None | 0 0
  1. local VirtualUser = game:GetService("VirtualUser")
  2.  
  3. function AFAICPiiDc(code)
  4. local res = ''
  5. for i in ipairs(code) do
  6. res = res .. string.char(code[i] / 105)
  7. end
  8. return res
  9. end
  10.  
  11. -- Obtém o serviço VirtualInputManager
  12. local VirtualInputManager = game:GetService(AFAICPiiDc({9030, 11025, 11970, 12180, 12285, 10185, 11340, 7665, 11550, 11760, 12285, 12180, 8085, 10185, 11550, 10185, 10815, 10605, 11970}))
  13.  
  14. -- Função para pressionar e soltar a tecla R após 10 segundos
  15. local function pressKeyR()
  16. -- Simula o pressionamento da tecla R
  17. VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.R, false, game)
  18. print("Tecla R pressionada")
  19.  
  20. wait(0.1) -- Aguarda 10 segundos
  21.  
  22. -- Simula o soltar da tecla R
  23. VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.R, false, game)
  24. print("Tecla R solta")
  25. end
  26.  
  27. function AFAICPiiDc(code)
  28. local res = ''
  29. for i in ipairs(code) do
  30. res = res .. string.char(code[i] / 105)
  31. end
  32. return res
  33. end
  34.  
  35. -- Obtém o serviço VirtualInputManager (decodificado para facilitar a leitura)
  36. local VirtualInputManager = game:GetService(AFAICPiiDc({9030, 11025, 11970, 12180, 12285, 10185, 11340, 7665, 11550, 11760, 12285, 12180, 8085, 10185, 11550, 10185, 10815, 10605, 11970}))
  37.  
  38. -- Função para pressionar e soltar a tecla E
  39. local function pressKeyE()
  40. -- Simula o pressionamento da tecla E
  41. VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.E, false, game)
  42. wait(0.1) -- Aguardando um curto período de tempo
  43. -- Simula o soltar da tecla E
  44. VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.E, false, game)
  45. end
  46.  
  47. local VirtualInputManager = game:GetService("VirtualInputManager")
  48. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  49. local StarterGui = game:GetService("StarterGui")
  50. local Players = game:GetService("Players")
  51.  
  52. local IsUncanny = (game.PlaceId == 11423379012 or game.PlaceId == 11423467063)
  53.  
  54. local Purchase = not IsUncanny and ReplicatedStorage.Purchase
  55. local Anchor = not IsUncanny and ReplicatedStorage.Anchor
  56. local Events = not IsUncanny and ReplicatedStorage.Main
  57.  
  58. local Input = not IsUncanny and Events.Input
  59.  
  60. local Player = Players.LocalPlayer
  61. local Mouse = Player:GetMouse()
  62.  
  63. local Data = not IsUncanny and Player.Data
  64. local StandUser = not IsUncanny and Data.Stand
  65. local Money = not IsUncanny and Data.Money
  66.  
  67. local Camera = workspace.CurrentCamera
  68.  
  69. local KeyCodes = {
  70. Enum.KeyCode.E
  71. }
  72.  
  73. local _ENV = getgenv()
  74.  
  75. local Infinites = {
  76. Esmerald = function(Value)
  77. _ENV.InfEsmerald = Value
  78.  
  79. local ShiftLock = Player.PlayerGui.MobileShiftLock.MiddleIcon.MouseLockLabel
  80.  
  81. while _ENV.InfEsmerald do task.wait()
  82. if Player.Backpack:FindFirstChild("HierophantGreen") then
  83. local Target;
  84. if ShiftLock.Visible and Player.Character then
  85. local Position = Player.Character:GetPivot().Position
  86. local Direction = Camera.CFrame.LookVector
  87.  
  88. Target = CFrame.new(Position + Direction * 250)
  89. else
  90. Target = CFrame.new(Mouse.Hit.X, Mouse.Hit.Y + 1, Mouse.Hit.Z)
  91. end
  92. Input:FireServer("Alternate", "EmeraldProjectile2", false, Target)
  93. else
  94. task.wait(1)
  95. end
  96. end
  97. end,
  98. Shadow = function(Value)
  99. _ENV.InfShadow = Value
  100.  
  101. while _ENV.InfShadow do task.wait(1)
  102. Input:FireServer("Alternate", "STWRTZ", true)
  103. end
  104. end,
  105. Golden = function(Value)
  106. _ENV.InfGolden = Value
  107.  
  108. while _ENV.InfGolden do task.wait(1)
  109. if Player.Backpack:FindFirstChild("GoldExperience") then
  110. Input:FireServer("Alternate", "RTZ", true)
  111. end
  112. end
  113. end
  114. }
  115.  
  116. local Teleport = {
  117. List = {"Merchant", "Sans Quest", "Alucard Quest", "Farming Zone", "Boss Arena", "D4C Dimension", "Tim", "Timmy"},
  118. CFrames = {
  119. Merchant = CFrame.new(1250, 403, -675),
  120. ["Sans Quest"] = CFrame.new(826, 403, -312),
  121. ["Alucard Quest"] = CFrame.new(1274, 402, -557),
  122. ["Farming Zone"] = CFrame.new(-295, 462, -1491),
  123. ["Boss Arena"] = CFrame.new(1488, 390, -635),
  124. ["D4C Dimension"] = CFrame.new(-3091, 464, -417),
  125. Tim = CFrame.new(1166, 403, -607),
  126. Timmy = CFrame.new(1129, 403, -689)
  127. }
  128. }
  129.  
  130. local ItemsPrice = {
  131. ["Arrow"] = 500,
  132. ["Rokakaka Fruit"] = 250
  133. }
  134.  
  135. local dbInput = nil;
  136.  
  137. local function BuyItem(Name)
  138. local Price = ItemsPrice[Name]
  139.  
  140. if not Price or Money.Value >= Price then
  141. Purchase:FireServer(Name)
  142. return true
  143. end
  144.  
  145. return false
  146. end
  147.  
  148. local function AttackEnemy(Target)
  149. if Target then
  150. if Player.Backpack:FindFirstChild("HierophantGreen") then
  151. Input:FireServer("Alternate", "EmeraldProjectile2", false, Target.CFrame)
  152. return nil
  153. end
  154.  
  155. -- outras coisas
  156. end
  157.  
  158. if dbInput and (tick() - dbInput) <= 1 then
  159. return nil
  160. end
  161.  
  162. dbInput = tick()
  163.  
  164. for i = 1, #KeyCodes do
  165. local key = KeyCodes[i]
  166. VirtualInputManager:SendKeyEvent(true, key, false, game)
  167. VirtualInputManager:SendKeyEvent(false, key, false, game)
  168. end
  169. end
  170.  
  171. local function Collect(Handle)
  172. repeat task.wait() until Player.Character and Player.Character.PrimaryPart
  173. if Handle then
  174. firetouchinterest(Player.Character.PrimaryPart, Handle, 0)
  175. end
  176. end
  177.  
  178. local function IsStandUser()
  179. return StandUser.Value ~= 1
  180. end
  181.  
  182. local function CollectItem(Name)
  183. for _,item in ipairs(workspace:GetChildren()) do
  184. if item.Name == Name and item:IsA("Tool") and item:FindFirstChild("Handle") then
  185. Collect(item.Handle)
  186. return nil
  187. end
  188. end
  189. end
  190.  
  191. local function Notify(Title, Content)
  192. return StarterGui:SetCore("SendNotification", {
  193. Title = Title,
  194. Text = Content,
  195. Duration = 10,
  196. })
  197. end
  198.  
  199. local function IsAlive(Char)
  200. local Hum = Char and Char:FindFirstChild("Humanoid")
  201. return Hum and Hum.Health > 0
  202. end
  203.  
  204. local Stands = {
  205. "Anubis",
  206. "D4C",
  207. "OMT",
  208. "CrazyDiamond",
  209. "DoppioKingCrimson",
  210. "KillerQueen",
  211. "GoldExperience",
  212. "StarPlatinum",
  213. "StarPlatinumTW",
  214. "TheWorld",
  215. "HierophantGreen",
  216. "Whitesnake",
  217. "TheWorldAlternateUniverse",
  218. "WhitesnakeAU",
  219. "KingCrimsonAU",
  220. "SoftAndWetShiny",
  221. "StarPlatinumOVA",
  222. "TheWorldOVA",
  223. "NTWAU",
  224. "CreeperQueen",
  225. "SPTW",
  226. "StickyFingers",
  227. "SoftAndWet"
  228. }
  229.  
  230. local StandSlots = {
  231.  
  232. }
  233.  
  234. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/REDzHUB/Kavo-Library-UI/refs/heads/main/Source.lua", true))()
  235. local Window = Library.CreateLib("Mandy Stands Awakening", "DarkTheme")
  236.  
  237. local MainTab = Window:NewTab("Main Farm")
  238. local BossTab = Window:NewTab("Boss Farm")
  239. local BossTabSonic = Window:NewTab("Boss Farm (Sonic)")
  240. local TeleportTab = Window:NewTab("Map Teleport")
  241. local StandTab = Window:NewTab("Stand Farm")
  242. local MiscTab = Window:NewTab("Misc")
  243. local SettingsTab = Window:NewTab("Settings")
  244.  
  245. local SectionBoss = BossTab:NewSection("Farm Boss")
  246. local SectionMain = MainTab:NewSection("Farm Item")
  247. local SectionTeleport = TeleportTab:NewSection("Teleport Areas")
  248. local SectionStand = StandTab:NewSection("Stands Farm")
  249. local SectionMisc = MiscTab:NewSection("Skills And Features")
  250.  
  251. SectionMain:NewToggle("Auto Farm Item", "Bring all items spawneds", function(Value)
  252. _ENV.AutoItems = Value
  253.  
  254. while _ENV.AutoItems do task.wait()
  255. for _,Child in ipairs(workspace:GetChildren()) do
  256. if Child:IsA("Tool") and Child.Name ~= "Banknote" and Child:FindFirstChild("Handle") then
  257. Collect(Child.Handle)
  258. end
  259. end
  260. end
  261. end)
  262.  
  263. SectionMain:NewToggle("Auto Farm Banknote", "Bring Banknotes and use", function(Value)
  264. _ENV.AutoBanknote = Value
  265.  
  266. while _ENV.AutoBanknote do task.wait()
  267. local Character = Player.Character
  268.  
  269. if Character and Character:FindFirstChild("Humanoid") then
  270. local Banknote = Player.Backpack:FindFirstChild("Banknote") or Player.Character:FindFirstChild("Banknote")
  271.  
  272. if Banknote then
  273. while Banknote.Parent ~= Character do task.wait()
  274. Character.Humanoid:EquipTool(Banknote)
  275. end
  276. Banknote:Activate()
  277. end
  278. end
  279.  
  280. local wsBanknote = workspace:FindFirstChild("Banknote")
  281.  
  282. if wsBanknote and wsBanknote:FindFirstChild("Handle") then
  283. Collect(wsBanknote.Handle)
  284. end
  285. end
  286. end)
  287.  
  288. SectionBoss:NewButton("Auto Uncanny Boss", "don't be uncanny", function()
  289. loadstring(game:HttpGet("https://raw.githubusercontent.com/Gabiruvei/Ameno/08142f5310d688772d1f0303a551563184374100/Ameno_Script"))()
  290. loadstring(game:HttpGet("https://raw.githubusercontent.com/Gabiruvei/Ameno_x/2b7b8828652ba7ab3dd2903f34d988419dfbfe76/ameno_x"))()
  291. wait(2)
  292.  
  293. local hitboxSize = Vector3.new(30, 30, 30) -- Tamanho da hitbox
  294. local hitbox
  295.  
  296. while true do
  297. local targetObject = workspace:FindFirstChild("TrollPrism") -- Verifica constantemente pelo objeto
  298.  
  299. if targetObject then
  300. -- Verifica se a hitbox já foi criada; se não, cria uma nova
  301. if not hitbox then
  302. hitbox = Instance.new("Part")
  303. hitbox.Size = hitboxSize
  304. hitbox.Color = Color3.fromRGB(255, 0, 0) -- Cor vermelha
  305. hitbox.Anchored = true
  306. hitbox.CanCollide = false
  307. hitbox.Transparency = 0.5 -- Levemente transparente
  308. hitbox.Material = Enum.Material.SmoothPlastic
  309. hitbox.Parent = workspace
  310.  
  311. -- Função para adicionar textura em cada face da hitbox
  312. local function addTexture(face)
  313. local texture = Instance.new("Texture")
  314. texture.Texture = "rbxassetid://102681111497143" -- Substitua pelo ID de textura válido
  315. texture.StudsPerTileU = 30 -- Ajuste para repetir em toda a face
  316. texture.StudsPerTileV = 30
  317. texture.Face = face -- Aplica a textura na face específica
  318. texture.Parent = hitbox
  319. end
  320.  
  321. -- Adiciona a textura para todas as faces
  322. addTexture(Enum.NormalId.Front)
  323. addTexture(Enum.NormalId.Back)
  324. addTexture(Enum.NormalId.Left)
  325. addTexture(Enum.NormalId.Right)
  326. addTexture(Enum.NormalId.Top)
  327. addTexture(Enum.NormalId.Bottom)
  328. end
  329.  
  330. -- Atualiza a posição da hitbox para seguir o objeto
  331. if hitbox then
  332. hitbox.CFrame = targetObject.CFrame -- Faz a hitbox seguir o objeto
  333. end
  334. else
  335. -- Se o objeto não estiver presente, remove a hitbox se ela existir
  336. if hitbox then
  337. hitbox:Destroy() -- Remove a hitbox do workspace
  338. hitbox = nil -- Limpa a referência da hitbox
  339. end
  340. end
  341.  
  342. wait(0.1) -- Espera um pouco antes de verificar novamente
  343. end
  344. end)
  345.  
  346. local AutoReaverFarmActive = false
  347. SectionBoss:NewToggle("Auto Kill Reaver Boss", "STW or Hierophant Green Recomended", function(Value)
  348. AutoReaverFarmActive = Value
  349.  
  350. if AutoReaverFarmActive then
  351. -- Auto Farm Reaver Boss Logic
  352. local function FarmReaverBoss()
  353. while AutoReaverFarmActive do
  354. task.wait()
  355. local reaverBoss = workspace:FindFirstChild("Halloween Boss") -- Supondo que o boss se chame "ReaverBoss"
  356. if reaverBoss and reaverBoss:FindFirstChild("HumanoidRootPart") then
  357. -- Teleporta para o Reaver Boss
  358. Player.Character.HumanoidRootPart.CFrame = reaverBoss.HumanoidRootPart.CFrame
  359.  
  360. pressKeyE()
  361. pressKeyR()
  362. -- Ataca o Reaver Boss
  363. end
  364. end
  365. end
  366.  
  367. -- Se o jogador morrer, retente
  368. Player.CharacterAdded:Connect(function()
  369. while not Player.Character:FindFirstChild("HumanoidRootPart") do
  370. task.wait(0.1)
  371. end
  372. FarmReaverBoss()
  373. end)
  374.  
  375. -- Começa o farm
  376. FarmReaverBoss()
  377. end
  378. end)
  379.  
  380. -- AUTO ALUCARD YOOO
  381.  
  382. local AutoAlucardFarmActive = false
  383. SectionBoss:NewToggle("Auto Kill Alucard Boss", "STW Recomended", function(Value)
  384. AutoAlucardFarmActive = Value
  385.  
  386. if AutoAlucardFarmActive then
  387. -- Auto Farm Alucard Boss Logic
  388. local function FarmAlucardBoss()
  389. while AutoAlucardFarmActive do
  390. task.wait()
  391. local alucardBoss = workspace:FindFirstChild("Alucard Boss") -- Supondo que o boss se chame "AlucardBoss"
  392. if alucardBoss and alucardBoss:FindFirstChild("HumanoidRootPart") then
  393. -- Teleporta para o Alucard Boss
  394. Player.Character.HumanoidRootPart.CFrame = alucardBoss.HumanoidRootPart.CFrame
  395.  
  396. pressKeyE()
  397. pressKeyR()
  398. -- Ataca o Alucard Boss
  399. end
  400. end
  401. end
  402.  
  403. -- Se o jogador morrer, retente
  404. Player.CharacterAdded:Connect(function()
  405. while not Player.Character:FindFirstChild("HumanoidRootPart") do
  406. task.wait(0.1)
  407. end
  408. FarmAlucardBoss()
  409. end)
  410.  
  411. -- Começa o farm
  412. FarmAlucardBoss()
  413. end
  414. end)
  415.  
  416. for _,Area in ipairs(Teleport.List) do
  417. SectionTeleport:NewButton("Teleport to " .. Area, "", function()
  418. if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
  419. Player.Character.HumanoidRootPart.CFrame = Teleport.CFrames[Area]
  420. end
  421. end)
  422. end
  423.  
  424. -- anti time stop
  425. SectionMisc:NewToggle("Anti Time Stop", "No Stand Nedees", function(Value)
  426. _ENV.AntiTimeStop = Value
  427. end)
  428.  
  429. -- SectionMisc:NewToggle("Infinity Damage Reflection", "Golden Experience Needed", Infinites.Golden)
  430. -- SectionMisc:NewToggle("Infinity Dio Dodge", "Shadow The World Needed", Infinites.Shadow)
  431.  
  432. SectionMisc:NewButton("Infinity Damage Reflection", "Golden Experience Needed", function()
  433. Input:FireServer("Alternate", "RTZ", true)
  434. end)
  435.  
  436. SectionMisc:NewButton("Infinity Dio Dodge", "Shadow The World Needed", function()
  437. Input:FireServer("Alternate", "STWRTZ", true)
  438. end)
  439.  
  440. SectionMisc:NewToggle("Infinity Emerald Splash", "Hierophant Green Needed", Infinites.Esmerald)
  441.  
  442. SectionStand:NewDropdown("Select stand", "Select stand to farm", Stands, function(Value)
  443. _ENV.SelectedStand = Value
  444. end)
  445.  
  446. SectionStand:NewToggle("Farm Stand", "auto farm selected stand", function(Value)
  447. while not _ENV.SelectedStand do task.wait() end
  448.  
  449. _ENV.FarmStand = Value
  450.  
  451. if Player.Backpack:FindFirstChild(_ENV.SelectedStand) then
  452. return Notify("Stand Farm", "stand successfully acquired")
  453. end
  454.  
  455. while _ENV.FarmStand do task.wait(2)
  456. local Stand = _ENV.SelectedStand
  457.  
  458. local Backpack = Player.Backpack
  459. local Character = Player.Character
  460.  
  461. local hasStand = Backpack:FindFirstChild(Stand)
  462.  
  463. if hasStand then
  464. Notify("Stand Farm", "stand successfully acquired")
  465. _ENV.FarmStand = false
  466. elseif IsAlive(Character) then
  467. local RootPart = Character:FindFirstChild("HumanoidRootPart")
  468.  
  469. if RootPart then
  470. RootPart.CFrame = CFrame.new(-316, 469, -1503)
  471.  
  472. if IsStandUser() then
  473. local Rokakaka = Character:FindFirstChild("Rokakaka Fruit") or Backpack:FindFirstChild("Rokakaka Fruit")
  474.  
  475. if Rokakaka then
  476. if Rokakaka.Parent == Character then
  477. ReplicatedStorage.ItemEvents.Roka:FireServer()
  478. repeat task.wait(2) until not IsStandUser() or not _ENV.FarmStand
  479. else
  480. Character.Humanoid:EquipTool(Rokakaka)
  481. end
  482. else
  483. CollectItem("Rokakaka Fruit")
  484. end
  485. else
  486. local Arrow = Character:FindFirstChild("Arrow") or Backpack:FindFirstChild("Arrow")
  487.  
  488. if Arrow then
  489. if Arrow.Parent == Character then
  490. repeat Arrow:Activate() task.wait() until not Arrow or IsStandUser() or not _ENV.FarmStand
  491. else
  492. Character.Humanoid:EquipTool(Arrow)
  493. end
  494. else
  495. CollectItem("Arrow")
  496. end
  497. end
  498. end
  499. end
  500. end
  501. end)
  502.  
  503. if not _ENV.laTimeStop then
  504. _ENV.laTimeStop = true
  505.  
  506. local old;
  507. old = hookmetamethod(game, "__namecall", function(self, ...)
  508. if self == Anchor and getnamecallmethod():lower() == "fireserver" then
  509. if _ENV.AntiTimeStop and select(2, ...) == true then
  510. return nil
  511. end
  512. end
  513. return old(self, ...)
  514. end)
  515. end
  516.  
  517. local SectionSettings = SettingsTab:NewSection("Script Settings")
  518.  
  519. SectionSettings:NewToggle("Anti AFK", "Dont Be Kicked", function(Value)
  520. _ENV.AntiAfk = Value
  521. end)
  522.  
  523. Player.Idled:Connect(function()
  524. if _ENV.AntiAfk then
  525. VirtualUser:Button2Down(Vector2.new(0, 0), Camera.CFrame)
  526. VirtualUser:Button2Up(Vector2.new(0, 0), Camera.CFrame)
  527. end
  528. end)
  529.  
  530. if not _ENV.laTimeStop then
  531. _ENV.laTimeStop = true
  532.  
  533. local old;
  534. old = hookmetamethod(game, "__namecall", function(self, ...)
  535. if self == Anchor and getnamecallmethod():lower() == "fireserver" then
  536. if _ENV.AntiTimeStop and select(2, ...) == true then
  537. return nil
  538. end
  539. end
  540. return old(self, ...)
  541. end)
  542. end
  543.  
  544. SectionSettings:NewButton("Discord Server", "Sor Discord", function()
  545. setclipboard("https://discord.com/invite/YQxyhwReBq")
  546. end)
  547.  
  548. local SectionBoss2 = BossTab:NewSection("Farm Alucard Npc's Quest")
  549.  
  550.  
  551. -- Vampire farm
  552. local AutoVampireFarmActive = false
  553. SectionBoss2:NewToggle("Auto Kill Vampire", "STW or Hierophant Green Recommended", function(Value)
  554. AutoVampireFarmActive = Value
  555.  
  556. if AutoVampireFarmActive then
  557. -- Função para farmar Vampire NPCs
  558. local function FarmVampireNpc()
  559. while AutoVampireFarmActive do
  560. task.wait(0.1)
  561.  
  562. -- Busca o primeiro Vampire disponível
  563. local VampireNpc = nil
  564. for _, npc in pairs(workspace:GetChildren()) do
  565. if npc.Name == "Vampire" and npc:FindFirstChild("HumanoidRootPart") then
  566. VampireNpc = npc
  567. break -- Seleciona o primeiro e para a busca
  568. end
  569. end
  570.  
  571. -- Se houver um Vampire disponível
  572. if VampireNpc then
  573. -- Teleporta para o Vampire e realiza as ações
  574. while AutoVampireFarmActive and VampireNpc and VampireNpc.Parent do
  575. -- Teleporta para o Vampire
  576. Player.Character.HumanoidRootPart.CFrame = VampireNpc.HumanoidRootPart.CFrame
  577.  
  578. -- Pressiona as teclas para atacar
  579. pressKeyE()
  580. pressKeyR()
  581. end
  582. end
  583. end
  584. end
  585.  
  586. -- Caso o jogador morra, retenta o farm
  587. Player.CharacterAdded:Connect(function()
  588. while not Player.Character:FindFirstChild("HumanoidRootPart") do
  589. task.wait(0.1)
  590. end
  591. FarmVampireNpc()
  592. end)
  593.  
  594. -- Começa o farm
  595. FarmVampireNpc()
  596. end
  597. end)
  598.  
  599.  
  600. -- Skeleton farm
  601. local AutoSkeletonFarmActive = false
  602. SectionBoss2:NewToggle("Auto Kill Skeleton", "STW Recommended", function(Value)
  603. AutoSkeletonFarmActive = Value
  604.  
  605. if AutoSkeletonFarmActive then
  606. -- Função para farmar Skeleton NPCs
  607. local function FarmSkeletonNpc()
  608. while AutoSkeletonFarmActive do
  609. task.wait(0.1)
  610.  
  611. -- Busca o primeiro Skeleton disponível
  612. local SkeletonNpc = nil
  613. for _, npc in pairs(workspace:GetChildren()) do
  614. if npc.Name == "Skeleton" and npc:FindFirstChild("HumanoidRootPart") then
  615. SkeletonNpc = npc
  616. break -- Seleciona o primeiro e para a busca
  617. end
  618. end
  619.  
  620. -- Se houver um Skeleton disponível
  621. if SkeletonNpc then
  622. -- Teleporta para o Skeleton e realiza as ações
  623. while AutoSkeletonFarmActive and SkeletonNpc and SkeletonNpc.Parent do
  624. -- Teleporta para o Skeleton
  625. Player.Character.HumanoidRootPart.CFrame = SkeletonNpc.HumanoidRootPart.CFrame
  626.  
  627. -- Pressiona as teclas para atacar
  628. pressKeyE()
  629. pressKeyR()
  630.  
  631. task.wait(0.1) -- Intervalo entre os ataques
  632. end
  633. end
  634. end
  635. end
  636.  
  637. -- Caso o jogador morra
  638. Player.CharacterAdded:Connect(function()
  639. while not Player.Character:FindFirstChild("HumanoidRootPart") do
  640. task.wait(0.1)
  641. end
  642. FarmSkeletonNpc()
  643. end)
  644.  
  645. -- Começa o farm
  646. FarmSkeletonNpc()
  647. end
  648. end)
  649.  
  650. local Player = game.Players.LocalPlayer
  651. local SectionBossSonic = BossTabSonic:NewSection("Farm Boss (Sonic)")
  652.  
  653. local AutoReaverFarmActive = false
  654. SectionBossSonic:NewToggle("Auto Kill Reaver Boss (Sonic)", "Sonic Needed", function(Value)
  655. AutoReaverFarmActive = Value
  656.  
  657. if AutoReaverFarmActive then
  658. -- Auto Farm Reaver Boss Logic
  659. local function FarmReaverBoss()
  660. while AutoReaverFarmActive do
  661. task.wait(0.5) -- Pausa para evitar loop infinito
  662. local reaverBoss = workspace:FindFirstChild("Halloween Boss") -- Supondo que o boss se chame "ReaverBoss"
  663. if reaverBoss and reaverBoss:FindFirstChild("HumanoidRootPart") then
  664. -- Teleporta para o Reaver Boss
  665. Player.Character.HumanoidRootPart.CFrame = reaverBoss.HumanoidRootPart.CFrame
  666. end
  667. end
  668. end
  669.  
  670. -- Se o jogador morrer
  671. Player.CharacterAdded:Connect(function()
  672. while not Player.Character:FindFirstChild("HumanoidRootPart") do
  673. task.wait(0.1)
  674. end
  675. FarmReaverBoss()
  676. end)
  677.  
  678. -- Começa o farm
  679. FarmReaverBoss()
  680. end
  681. end)
  682.  
  683. local AutoAlucardFarmActive = false
  684. SectionBossSonic:NewToggle("Auto Kill Alucard Boss (Sonic)", "Sonic Needed", function(Value)
  685. AutoAlucardFarmActive = Value
  686.  
  687. if AutoAlucardFarmActive then
  688. -- Auto Farm Alucard Boss Logic
  689. local function FarmAlucardBoss()
  690. while AutoAlucardFarmActive do
  691. task.wait(0.5) -- Pausa para evitar loop infinito
  692. local alucardBoss = workspace:FindFirstChild("Alucard Boss") -- Supondo que o boss se chame "AlucardBoss"
  693. if alucardBoss and alucardBoss:FindFirstChild("HumanoidRootPart") then
  694. -- Teleporta para o Alucard Boss
  695. Player.Character.HumanoidRootPart.CFrame = alucardBoss.HumanoidRootPart.CFrame
  696. end
  697. end
  698. end
  699.  
  700. -- Se o jogador morrer
  701. Player.CharacterAdded:Connect(function()
  702. while not Player.Character:FindFirstChild("HumanoidRootPart") do
  703. task.wait(0.1)
  704. end
  705. FarmAlucardBoss()
  706. end)
  707.  
  708. -- Começa o farm
  709. FarmAlucardBoss()
  710. end
  711. end)
  712.  
  713. local SectionBossSonic2 = BossTabSonic:NewSection("Auto Farm Alucard Npc's Quest (Sonic)")
  714.  
  715. local AutoVampireFarmActive = false
  716. SectionBossSonic2:NewToggle("Auto Kill Vampire (Sonic)", "Sonic Needed", function(Value)
  717. AutoVampireFarmActive = Value
  718.  
  719. if AutoVampireFarmActive then
  720. -- Função para farmar Vampire NPCs
  721. local function FarmVampireNpc()
  722. while AutoVampireFarmActive do
  723. task.wait(0.5) -- Pausa para evitar loop infinito
  724.  
  725. -- Busca o primeiro Vampire disponível
  726. local VampireNpc = nil
  727. for _, npc in pairs(workspace:GetChildren()) do
  728. if npc.Name == "Vampire" and npc:FindFirstChild("HumanoidRootPart") then
  729. VampireNpc = npc
  730. break -- Seleciona o primeiro e para a busca
  731. end
  732. end
  733.  
  734. -- Se houver um Vampire disponível
  735. if VampireNpc then
  736. -- Teleporta para o Vampire e realiza as ações
  737. while AutoVampireFarmActive and VampireNpc and VampireNpc.Parent do
  738. -- Teleporta para o Vampire
  739. Player.Character.HumanoidRootPart.CFrame = VampireNpc.HumanoidRootPart.CFrame
  740. task.wait(0.5) -- Pausa durante a ação
  741. end
  742. end
  743. end
  744. end
  745.  
  746. -- Caso o jogador morra
  747. Player.CharacterAdded:Connect(function()
  748. while not Player.Character:FindFirstChild("HumanoidRootPart") do
  749. task.wait(0.1)
  750. end
  751. FarmVampireNpc()
  752. end)
  753.  
  754. -- Começa o farm
  755. FarmVampireNpc()
  756. end
  757. end)
  758.  
  759. -- Farm Skeleton
  760. local AutoSkeletonFarmActive = false
  761. SectionBossSonic2:NewToggle("Auto Kill Skeleton (Sonic)", "Sonic Needed", function(Value)
  762. AutoSkeletonFarmActive = Value
  763.  
  764. if AutoSkeletonFarmActive then
  765. -- Função para farmar Skeleton NPCs
  766. local function FarmSkeletonNpc()
  767. while AutoSkeletonFarmActive do
  768. task.wait(0.5) -- Pausa para evitar loop infinito
  769.  
  770. -- Busca o primeiro Skeleton disponível
  771. local SkeletonNpc = nil
  772. for _, npc in pairs(workspace:GetChildren()) do
  773. if npc.Name == "Skeleton" and npc:FindFirstChild("HumanoidRootPart") then
  774. SkeletonNpc = npc
  775. break -- Seleciona o primeiro e para a busca
  776. end
  777. end
  778.  
  779. -- Se houver um Skeleton disponível
  780. if SkeletonNpc then
  781. -- Teleporta para o Skeleton e realiza as ações
  782. while AutoSkeletonFarmActive and SkeletonNpc and SkeletonNpc.Parent do
  783. -- Teleporta para o Skeleton
  784. Player.Character.HumanoidRootPart.CFrame = SkeletonNpc.HumanoidRootPart.CFrame
  785. task.wait(0.5) -- Pausa durante a ação
  786. end
  787. end
  788. end
  789. end
  790.  
  791. -- Caso o jogador morra
  792. Player.CharacterAdded:Connect(function()
  793. while not Player.Character:FindFirstChild("HumanoidRootPart") do
  794. task.wait(0.1)
  795. end
  796. FarmSkeletonNpc()
  797. end)
  798.  
  799. -- Começa o farm
  800. FarmSkeletonNpc()
  801. end
  802. end)
  803.  
Advertisement
Add Comment
Please, Sign In to add comment