Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script Made By Babyspiderman#2582
- -- UI Library: Blek Library
- local BlekLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/laderite/bleklib/main/library.lua"))()
- local win = BlekLib:Create({
- Name = "One Punch Fighters",
- StartupSound = {
- Toggle = true,
- SoundID = "rbxassetid://6958727243", -- Win 11 Startup Sound
- TimePosition = 1
- }
- })
- local maintab = win:Tab('Auto Farm')
- local charactertab = win:Tab('Other')
- local uitab = win:Tab('UI')
- maintab:Slider('Area', 1, 1, 7, function(a)
- _G.Area = 1 or a
- end)
- maintab:Toggle('Start Auto Farm', function(a)
- _G.Farm = a
- function AutoFarm1()
- for i,v in pairs(game:GetService("Workspace")["__GAME"]["__Mobs"]["Area".._G.Area]:GetChildren()) do
- if v:FindFirstChild("NpcConfiguration").Health.Value > 0 and _G.Farm then
- if (v.NpcModel.HumanoidRootPart.Position-game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= 300 then
- repeat wait()
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = v.NpcModel.HumanoidRootPart.CFrame
- Target = v
- until v.NpcConfiguration.Health.Value <= 0 or _G.Farm == false
- end
- end
- end
- end
- end)
- charactertab:Toggle('Auto Punch', function(a)
- _G.Puch = a
- end)
- charactertab:Toggle('Auto Collect Reward', function(a)
- _G.Collect = a
- function Collect()
- for i,v in pairs(game:GetService("Workspace")["__Cache"]:GetChildren()) do
- if v.Name == "CoinsPart" then
- if (v.Position-game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= 300 then
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
- end
- end
- end
- end
- end)
- charactertab:Toggle('Auto Punch', function(a)
- _G.Puch = a
- end)
- uitab:Button('Destroy GUI', function()
- win:Exit()
- end)
- spawn(function()
- while task.wait() do
- pcall(function()
- if _G.Farm then
- AutoFarm1()
- end
- end)
- end
- end)
- spawn(function()
- while task.wait() do
- pcall(function()
- if _G.Collect then
- Collect()
- end
- end)
- end
- end)
- spawn(function()
- while task.wait() do
- pcall(function()
- if _G.Puch then
- local A_1 = "Normal"
- game:GetService("ReplicatedStorage").Game["__Remotes"].ClickEvent:FireServer(A_1)
- end
- end)
- end
- end)
- spawn(function()
- while task.wait(0.2) do
- pcall(function()
- if _G.Farm then
- local A_1 = "Attack"
- local A_2 = Target
- game:GetService("ReplicatedStorage").Game["__Remotes"].AttackEvent:FireServer(A_1, A_2)
- end
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement