xtrey10x

Anime Warriors Script

Jul 31st, 2022
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. shared.Enable = false
  2. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  3. local Window = OrionLib:MakeWindow({Name = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name, HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
  4. local Tab = Window:MakeTab({
  5. Name = "⚔️ Farming",
  6. Icon = "",
  7. PremiumOnly = false
  8. })
  9. local Section = Tab:AddSection({
  10. Name = "General"
  11. })
  12. Tab:AddToggle({
  13. Name = "Enable",
  14. Default = false,
  15. Callback = function(Value)
  16. if Value then
  17. shared.Enable = true
  18. else
  19. shared.Enable = false
  20. end
  21. end
  22. })
  23. function getSkill_remote()
  24. for i,v in pairs(game:GetService("ReplicatedStorage")["_NETWORK"]:GetChildren()) do
  25. if i == 69 then
  26. return v
  27. end
  28. end
  29. end
  30. function useSkill(mobPos)
  31. local info = {
  32. ["Character"] = game.Players.LocalPlayer.Character,
  33. ["mouseHit"] = mobPos
  34. }
  35. for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.GameUI.HUD.Skills:GetChildren()) do
  36. if v:IsA("ImageButton") then
  37. local remote = getSkill_remote()
  38. remote:InvokeServer(v.Name,info)
  39. end
  40. end
  41. return skills
  42. end
  43. function getNPC()
  44. pcall(function()
  45. for i,v in pairs(game:GetService("Workspace").Live.NPCs:GetChildren()) do
  46. if v.HumanoidRootPart.Anchored == false then
  47. local mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.HumanoidRootPart.Position).Magnitude
  48. if mag < 1500 then
  49. repeat
  50. for _,partSkill in pairs(game:GetService("Workspace").Effects:GetChildren()) do
  51. if partSkill:IsA("Model") and string.find(tostring(partSkill.Name),"indicator") then
  52. print("Found Indicator", partSkill:GetFullName())
  53. local indicatorArea = partSkill
  54. local d = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - partSkill:FindFirstChildOfClass("MeshPart").Position).Magnitude
  55. if d < 50 then
  56. print("Touching Area")
  57. setclipboard(tostring(partSkill:FindFirstChildOfClass("MeshPart").BrickColor))
  58. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,80,200)
  59. task.wait(2)
  60. end
  61. end
  62. end
  63. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0, 0, 5)
  64. game:GetService("Players").LocalPlayer.ClientInputEvents.M1:Fire()
  65. useSkill(v.HumanoidRootPart.CFrame)
  66. task.wait()
  67. until (v.Humanoid.Health <= 0) or (not shared.Enable)
  68. end
  69. end
  70. end
  71. end)
  72. end
  73. task.spawn(function()
  74. while true do
  75. if shared.Enable then
  76. getNPC()
  77. end
  78. task.wait()
  79. end
  80. end)
Add Comment
Please, Sign In to add comment