Advertisement
Guest User

Limitless Farm

a guest
Aug 20th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. _G.ok = true
  2.  
  3. local player = game.Players.LocalPlayer
  4. local VirtualUser=game:service'VirtualUser'
  5.  
  6. local Area = "Hell"
  7. local Npc_To_Farm = "Grim Reaper"
  8.  
  9. while _G.ok do
  10. wait()
  11. game:getService("RunService"):BindToRenderStep("",0,function()
  12. if _G.ok == false then
  13. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(18)
  14. else
  15. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  16. end
  17. end)
  18. game:service'Players'.LocalPlayer.Idled:connect(function()
  19. print("AntiAFK")
  20. VirtualUser:CaptureController()
  21. VirtualUser:ClickButton2(Vector2.new())
  22. end)
  23. spawn(function()
  24. if game.Players.LocalPlayer.PlayerGui.UI.ItemShop.Background.Frame.Background.Frame.Godly.Timer.Text == "READY" then
  25. game:GetService("ReplicatedStorage").ServerNetwork:InvokeServer("ItemShopPurchase", 6)
  26. wait(10802)
  27. end
  28. end)
  29. spawn(function()
  30. if game.Players.LocalPlayer.Quests:FindFirstChild("Godly") then
  31. game:GetService("ReplicatedStorage").ServerNetwork:InvokeServer("QuestFunction", "EquipQuest", game.Players.LocalPlayer.Quests.Godly)
  32. wait(60)
  33. end
  34. end)
  35. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=workspace.Interaction.Portals[Area][Area].CFrame+Vector3.new(0,0,0)
  36. wait(4)
  37. while wait() do
  38. for i,v in pairs(workspace.Enemies.Hell:GetChildren()) do
  39. if v.ClassName == "Model" and v.Name == Npc_To_Farm and v:WaitForChild("HumanoidRootPart") then
  40. if _G.ok == false then
  41. break
  42. else
  43. player.Character.HumanoidRootPart.CFrame=v.HumanoidRootPart.CFrame+Vector3.new(0,-10,0)
  44. v.HumanoidRootPart.Anchored=true
  45. repeat wait()
  46. if not v:FindFirstChild("Humanoid") then
  47. v:WaitForChild("Humanoid")
  48. end
  49. game:GetService("ReplicatedStorage").Remotes.RemoteEvent:FireServer("DamageInvoke", v, "FireBall", true)
  50. until not v:FindFirstChild("Humanoid") or v.Humanoid.Health == 0
  51. end
  52. end
  53. end
  54. end
  55. end
  56.  
  57. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=workspace.Interaction.Portals[Area][Area].CFrame+Vector3.new(0,0,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement