Advertisement
SirMeme

LEAKED OPM AUTO FARM ( NOT SURE IF WORKING )

Jul 27th, 2018
2,393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. -- use this one to farm bosses and mobs
  2. -- Leaked by youtube/sirmeme
  3. spawn(function()
  4. for i,v in pairs(game.Workspace.City:GetChildren()) do
  5. if v.Name ~= "floor" and v.Name ~= "rock" and v.Name ~= "Model" then
  6. v:Destroy()
  7. end
  8. end
  9. end)
  10.  
  11. spawn(function()
  12. local bp = Instance.new("BodyPosition")
  13. bp.Name = "bp"
  14. bp.P = 2000
  15. bp.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  16. bp.MaxForce = Vector3.new(2000, 2000, 2000)
  17. end)
  18.  
  19. spawn(function()
  20. wait(5)
  21. while wait() do
  22. pcall(function()
  23. for i,v in pairs(game.Workspace.NPCS:GetChildren()) do
  24. if v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") then
  25. while v.Humanoid.Health > 1 do
  26. wait()
  27. pos = v.HumanoidRootPart.Position
  28. local humanoidRootPart = game.Players.LocalPlayer.Character.HumanoidRootPart
  29. game.Players.LocalPlayer.Character.HumanoidRootPart.bp.Position = pos
  30. humanoidRootPart.CFrame = CFrame.new(humanoidRootPart.CFrame.p,Vector3.new(pos.x, pos.y, pos.z) + Vector3.new(0,2,0))
  31. end
  32. end
  33. end
  34. end)
  35. end
  36. end)
  37.  
  38. spawn(function()
  39. wait(5)
  40. while wait(0.01) do
  41. pcall(function()
  42. mouse1click()
  43. end)
  44. end
  45. end)
  46.  
  47. spawn(function()
  48. game.Players.LocalPlayer.CharacterAdded:connect(function()
  49. wait(5)
  50. local bp = Instance.new("BodyPosition")
  51. bp.Name = "bp"
  52. bp.P = 2000
  53. bp.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  54. bp.MaxForce = Vector3.new(2000, 2000, 2000)
  55. end)
  56. end)
  57.  
  58. spawn(function()
  59. for i,v in pairs(game.Workspace.City:GetChildren()) do
  60. if v.Name == "Model" then
  61. if v:FindFirstChild("Mesh building 1") or v:FindFirstChild("building mesh 4") or v:FindFirstChild("Tree") or v:FindFirstChild("tree") or v:FindFirstChild("Fence") or v:FindFirstChild("turn") or v:FindFirstChild("Union") then
  62. v:Destroy()
  63. end
  64. end
  65. end
  66. end)
  67.  
  68. -- use this one to farm normal mobs only
  69. spawn(function()
  70. for i,v in pairs(game.Workspace.City:GetChildren()) do
  71. if v.Name ~= "floor" and v.Name ~= "rock" and v.Name ~= "Model" then
  72. v:Destroy()
  73. end
  74. end
  75. end)
  76.  
  77. spawn(function()
  78. local bp = Instance.new("BodyPosition")
  79. bp.Name = "bp"
  80. bp.Position = Vector3.new(0, 3, 0)
  81. bp.P = 2000
  82. bp.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  83. bp.MaxForce = Vector3.new(2000, 2000, 2000)
  84. end)
  85.  
  86. spawn(function()
  87. wait(5)
  88. while wait() do
  89. pcall(function()
  90. for i,v in pairs(game.Workspace.NPCS:GetChildren()) do
  91. if v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") then
  92. if v.Humanoid.MaxHealth < 1000 then
  93. while v.Humanoid.Health > 1 do
  94. wait()
  95. pos = v.HumanoidRootPart.Position
  96. local humanoidRootPart = game.Players.LocalPlayer.Character.HumanoidRootPart
  97. game.Players.LocalPlayer.Character.HumanoidRootPart.bp.Position = pos
  98. humanoidRootPart.CFrame = CFrame.new(humanoidRootPart.CFrame.p,Vector3.new(pos.x, pos.y, pos.z) + Vector3.new(0,2,0))
  99. end
  100. end
  101. end
  102. end
  103. end)
  104. end
  105. end)
  106.  
  107. spawn(function()
  108. wait(5)
  109. while wait(0.01) do
  110. pcall(function()
  111. mouse1click()
  112. end)
  113. end
  114. end)
  115.  
  116. spawn(function()
  117. game.Players.LocalPlayer.CharacterAdded:connect(function()
  118. wait(5)
  119. local bp = Instance.new("BodyPosition")
  120. bp.Name = "bp"
  121. bp.P = 2000
  122. bp.Position = Vector3.new(0, 3, 0)
  123. bp.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  124. bp.MaxForce = Vector3.new(2000, 2000, 2000)
  125. end)
  126. end)
  127.  
  128. spawn(function()
  129. for i,v in pairs(game.Workspace.City:GetChildren()) do
  130. if v.Name == "Model" then
  131. if v:FindFirstChild("Mesh building 1") or v:FindFirstChild("building mesh 4") or v:FindFirstChild("Tree") or v:FindFirstChild("tree") or v:FindFirstChild("Fence") or v:FindFirstChild("turn") or v:FindFirstChild("Union") then
  132. v:Destroy()
  133. end
  134. end
  135. end
  136. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement