Advertisement
xtrey10x

Anime Warriors Script

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