Categories > Exploiting > Scripts >

Heroes Online Autofarm

Posts: 13

Threads: 1

Joined: Jan, 2020

Reputation: 0

Posted

I Made This Script Just For Fun For A friend But Then Decided To release it its not the best but the key k stops and starts it note this is only for the first world and if you are a hero

sorry i don't know lua to well and i thought this was a good learning experience so if you can improve the script a t all go ahead 

local mouse = game.Players.LocalPlayer:GetMouse()
local autoFarming = false

coroutine.wrap(function()
   while wait() do
       if autoFarming then
           for i,v in pairs(game.Workspace:GetChildren()) do
               pcall(function()
                   if string.match(v.Name, "UAStudent") then
                       repeat
                           wait()
                           game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + v.HumanoidRootPart.CFrame.lookVector * - 3
                           local func = "Melee"
                           local name = v.Name
                           game:GetService("ReplicatedStorage").Events.DataEvent:FireServer(func, Name)
                       until
                           v.Settings.FakeHealth.Value <= 0 or not autoFarming
                   end
               end)
           end
       end
   end
end)()

mouse.KeyDown:Connect(function(key)
   if key == "k" then
       autoFarming = not autoFarming
   end
end)


You Can Also Change What it auto farms by changing line 9


GAME

  • 0

iAmInfinity

#ObsidianGang

Posts: 73

Threads: 20

Joined: Feb, 2020

Reputation: -20

Replied

Whats your discord name and tag?

  • 0

Obsidian Owner
______________________

-6 rep
+2 Vouches
______________________
  

"Reputation means nothing: Have your own opinion for a person"

Posts: 342

Threads: 7

Joined: Dec, 2019

Reputation: 12

Replied

why do you keep asking for peoples tags and discord names :thonk:

  • 0

weed is peak comedy.

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )