Advertisement
NukeVsCity

fighters sim hack 1

Jul 16th, 2021
4,069
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 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("Lunaaa#2912",function()
  63. setclipboard("Lunaaa#2912")
  64. end)
  65.  
  66. u:Button("Discord server for updates",function()
  67. setclipboard("sus")
  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. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(ClosestPart().CFrame.Position + Vector3.new(0,0,0))
  89. mouse1press() wait() mouse1release()
  90. else
  91. game:GetService("Players").LocalPlayer.CameraMaxZoomDistance = 128
  92. end
  93. end
  94. end
  95. end
  96. end
  97. end)
  98.  
  99. spawn(function()
  100. if AutoClickDamage == true then
  101. game:GetService("ReplicatedStorage").Remote.ClickerDamage:FireServer()
  102. end
  103. end)
  104.  
  105. spawn(function()
  106. if AntiAfk == true then
  107. local bb=game:service'VirtualUser'
  108. bb:CaptureController()
  109. bb:ClickButton2(Vector2.new())
  110. end
  111. end)
  112. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement