Advertisement
1_F0

Anime Fighters Simulator Hack 2021

Jul 16th, 2021
13,902
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
  2. local w = library:CreateWindow("Anime Fighters Simulator")
  3. local b = w:CreateFolder("AutoFarm")
  4. local e = w:CreateFolder("Mix")
  5. local u = w:CreateFolder("Credits")
  6. SelectedEnemy = "Frieza1"
  7. Enemies = {}
  8. for i,v in pairs(game:GetService("Workspace").Worlds:GetDescendants()) do
  9. if v.Name == "Enemies" and v.ClassName == "Folder" then
  10. for i,v1 in pairs(v:GetChildren()) do
  11. if not table.find(Enemies,v1.Name) then
  12. table.insert(Enemies,v1.Name)
  13. end
  14. end
  15. end
  16. end
  17.  
  18. function ClosestPart()
  19. local dist = math.huge
  20. local target = nil
  21. for i,v in pairs(game:GetService("Workspace").Worlds:GetDescendants()) do
  22. if v.ClassName == "Humanoid" then
  23. if v.Parent.Name == SelectedEnemy then
  24. if v.Parent:FindFirstChild("HumanoidRootPart") then
  25. local magnitude = (v.Parent.HumanoidRootPart.Position - game:GetService("Players").LocalPlayer.Character.Head.Position).magnitude
  26. if magnitude < dist then
  27. dist = magnitude
  28. target = v.Parent.HumanoidRootPart
  29. end
  30. end
  31. end
  32. end
  33. end
  34. return target
  35. end
  36.  
  37. b:Toggle("AutoKillEnemies",function(bool)
  38. shared.toggle = bool
  39. AutoKillEnemies = bool
  40. end)
  41.  
  42. b:Dropdown("Select Mob",Enemies,true,function(mob)
  43. SelectedEnemy = mob
  44. end)
  45.  
  46. b:Toggle("AutoClickDamage",function(bool)
  47. shared.toggle = bool
  48. AutoClickDamage = bool
  49. end)
  50.  
  51. b:Toggle("AutoCollectCoins",function(bool)
  52. shared.toggle = bool
  53. AutoCollectCoins = bool
  54. end)
  55.  
  56. e:Toggle("AntiAfk",function(bool)
  57. shared.toggle = bool
  58. AntiAfk = bool
  59. end)
  60.  
  61. --Credits
  62. u:Button("maxgat5#8395",function()
  63. setclipboard("maxgat5#8395")
  64. end)
  65.  
  66. u:Button("Discrod Server",function()
  67. setclipboard("https://discord.gg/K4txdRSVfq")
  68. end)
  69.  
  70. while wait() do
  71. spawn(function()
  72. if AutoCollectCoins == true then
  73. for i,v in pairs(game:GetService("Workspace").Effects:GetDescendants()) do
  74. if v.Name == "Base" then
  75. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,0)
  76. end
  77. end
  78. end
  79. end)
  80.  
  81. spawn(function()
  82. if AutoKillEnemies == true then
  83. for i,v in pairs(workspace.Pets:GetDescendants()) do
  84. if v.Name == "Owner" then
  85. if v.Value == game.Players.LocalPlayer then
  86. if v.Parent.Attacking.Value == nil then
  87. game:GetService("Players").LocalPlayer.CameraMaxZoomDistance = 0
  88. local tweenInfo = TweenInfo.new(
  89. 0
  90. )
  91. local t = game.TweenService:Create(game.Players.LocalPlayer.Character.PrimaryPart, tweenInfo, {CFrame = CFrame.new(
  92. ClosestPart().CFrame.Position + Vector3.new(0,0,0)
  93. )})
  94. game.Players.LocalPlayer.Character.PrimaryPart.Anchored = true
  95. t:Play()
  96. wait(0)
  97. mouse1press() wait() mouse1release()
  98. else
  99. game.Players.LocalPlayer.Character.PrimaryPart.Anchored = false
  100. game:GetService("Players").LocalPlayer.CameraMaxZoomDistance = 128
  101. end
  102. end
  103. end
  104. end
  105. end
  106. end)
  107.  
  108. spawn(function()
  109. if AutoClickDamage == true then
  110. game:GetService("ReplicatedStorage").Remote.ClickerDamage:FireServer()
  111. end
  112. end)
  113.  
  114. spawn(function()
  115. if AntiAfk == true then
  116. local bb=game:service'VirtualUser'
  117. bb:CaptureController()
  118. bb:ClickButton2(Vector2.new())
  119. end
  120. end)
  121. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement