Advertisement
RDMScript

Untitled

Jan 3rd, 2020
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. _G.farm = true
  2. noclip = true
  3. game:GetService('RunService').Stepped:connect(function()
  4. if noclip then
  5. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  6. end
  7. end)
  8. plr = game.Players.LocalPlayer
  9. mouse = plr:GetMouse()
  10. mouse.KeyDown:connect(function(key)
  11.  
  12. if key == "o" then
  13. noclip = not noclip
  14. game.Players.LocalPlayer.Character.Humanoid:ChangeState(250)
  15. end
  16. end)
  17.  
  18. local Key = "J"
  19. local AutoClickerData = Instance.new("ScreenGui")
  20. local Enabled = Instance.new("TextLabel")
  21.  
  22. AutoClickerData.Name = "AutoClickerData"
  23. AutoClickerData.Parent = game.CoreGui
  24.  
  25. Enabled.Name = "Enabled"
  26. Enabled.Parent = AutoClickerData
  27. Enabled.BackgroundColor3 = Color3.new(1, 1, 1)
  28. Enabled.Size = UDim2.new(0, 200, 0, 50)
  29. Enabled.Visible = false
  30. Enabled.Font = Enum.Font.SourceSans
  31. Enabled.Text = "nope"
  32. Enabled.TextColor3 = Color3.new(0, 0, 0)
  33. Enabled.TextSize = 14
  34.  
  35. function onKeyPress(inputObject, gameProcessedEvent)
  36. if inputObject.KeyCode == Enum.KeyCode[Key] then
  37. if Enabled.Text == "nope" then
  38. Enabled.Text = "yes"
  39. while Enabled.Text == "yes" do
  40. wait(0.01)
  41. mouse1click()
  42. end
  43. else
  44. Enabled.Text = "nope"
  45. end
  46. end
  47. end
  48.  
  49. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  50.  
  51. for i,v in pairs(workspace.Enemies:GetDescendants()) do
  52. local Hum = v:FindFirstChild("Humanoid")
  53. if Hum then
  54. MakeConnection(v)
  55. end
  56. end
  57.  
  58. local Key = "J"
  59. local AutoClickerData = Instance.new("ScreenGui")
  60. local Enabled = Instance.new("TextLabel")
  61.  
  62. AutoClickerData.Name = "AutoClickerData"
  63. AutoClickerData.Parent = game.CoreGui
  64.  
  65. Enabled.Name = "Enabled"
  66. Enabled.Parent = AutoClickerData
  67. Enabled.BackgroundColor3 = Color3.new(1, 1, 1)
  68. Enabled.Size = UDim2.new(0, 200, 0, 50)
  69. Enabled.Visible = false
  70. Enabled.Font = Enum.Font.SourceSans
  71. Enabled.Text = "nope"
  72. Enabled.TextColor3 = Color3.new(0, 0, 0)
  73. Enabled.TextSize = 14
  74.  
  75. function onKeyPress(inputObject, gameProcessedEvent)
  76. if inputObject.KeyCode == Enum.KeyCode[Key] then
  77. if Enabled.Text == "nope" then
  78. Enabled.Text = "yes"
  79. while Enabled.Text == "yes" do
  80. wait(0.01)
  81. mouse1click()
  82. end
  83. else
  84. Enabled.Text = "nope"
  85. end
  86. end
  87. end
  88.  
  89. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  90.  
  91. for i,v in pairs(workspace.Enemies:GetDescendants()) do
  92. local Hum = v:FindFirstChild("Humanoid")
  93. if Hum then
  94. MakeConnection(v)
  95. end
  96. end
  97. while _G.farm do
  98. wait(0)
  99.  
  100. for i,v in pairs(game.workspace.NPCS:GetChildren()) do
  101. if v.Name == "Elite Mafia [Level 500]" then -- Mob Name
  102. if v.Humanoid.Health > 0 then
  103. repeat wait()
  104. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0, 0, 4)
  105. until v.Humanoid.Health == 0 or _G.farm == false
  106. end
  107. end
  108. end
  109. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement