Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.farm = true
- noclip = true
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "o" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(250)
- end
- end)
- local Key = "J"
- local AutoClickerData = Instance.new("ScreenGui")
- local Enabled = Instance.new("TextLabel")
- AutoClickerData.Name = "AutoClickerData"
- AutoClickerData.Parent = game.CoreGui
- Enabled.Name = "Enabled"
- Enabled.Parent = AutoClickerData
- Enabled.BackgroundColor3 = Color3.new(1, 1, 1)
- Enabled.Size = UDim2.new(0, 200, 0, 50)
- Enabled.Visible = false
- Enabled.Font = Enum.Font.SourceSans
- Enabled.Text = "nope"
- Enabled.TextColor3 = Color3.new(0, 0, 0)
- Enabled.TextSize = 14
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode[Key] then
- if Enabled.Text == "nope" then
- Enabled.Text = "yes"
- while Enabled.Text == "yes" do
- wait(0.01)
- mouse1click()
- end
- else
- Enabled.Text = "nope"
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- for i,v in pairs(workspace.Enemies:GetDescendants()) do
- local Hum = v:FindFirstChild("Humanoid")
- if Hum then
- MakeConnection(v)
- end
- end
- local Key = "J"
- local AutoClickerData = Instance.new("ScreenGui")
- local Enabled = Instance.new("TextLabel")
- AutoClickerData.Name = "AutoClickerData"
- AutoClickerData.Parent = game.CoreGui
- Enabled.Name = "Enabled"
- Enabled.Parent = AutoClickerData
- Enabled.BackgroundColor3 = Color3.new(1, 1, 1)
- Enabled.Size = UDim2.new(0, 200, 0, 50)
- Enabled.Visible = false
- Enabled.Font = Enum.Font.SourceSans
- Enabled.Text = "nope"
- Enabled.TextColor3 = Color3.new(0, 0, 0)
- Enabled.TextSize = 14
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode[Key] then
- if Enabled.Text == "nope" then
- Enabled.Text = "yes"
- while Enabled.Text == "yes" do
- wait(0.01)
- mouse1click()
- end
- else
- Enabled.Text = "nope"
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- for i,v in pairs(workspace.Enemies:GetDescendants()) do
- local Hum = v:FindFirstChild("Humanoid")
- if Hum then
- MakeConnection(v)
- end
- end
- while _G.farm do
- wait(0)
- for i,v in pairs(game.workspace.NPCS:GetChildren()) do
- if v.Name == "Elite Mafia [Level 500]" then -- Mob Name
- if v.Humanoid.Health > 0 then
- repeat wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0, 0, 4)
- until v.Humanoid.Health == 0 or _G.farm == false
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement