Advertisement
sosmicsos

Anime Fighters Simulator Script

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