Ro Ghoul – Autofarm

Uploaded On
Script Credit :- DevSamuel
Features

Autofarm

There are three settings;
Mobs is where you put the names of the npcs you are looking to kill. You turn them on individually by changing their state to (true or false); (on or off).
Key is the key you want to press to stop the script where you can turn it on and change the settings by re-executing. Keybinds can be lowercase or uppercase. 
Speed is self explanatory as it is the speed at which the teleport function drags you across the map.

Script
--BROUGHT TO YOU BY RobloxScripter.com!--

-- Settings local Settings = { Mobs = { -- Ghoul's ["High Rank Aogiri Member"] = false, ["Mid Rank Aogiri Member"] = false, ["Low Rank Aogiri Member"] = true, -- CCG's ["Rank 1 Investigator"] = false, ["Rank 2 Investigator"] = false, ["First Class Investigator"] = false, -- Human's ["Human"] = true, ["Athlete"] = true }, Key = "O", Speed = 10 } -- Objects local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local CoreGui = game:GetService("CoreGui") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Camera = Workspace.CurrentCamera local Mouse = LocalPlayer:GetMouse() local Input = "\230\147\141\228\189\160\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\230\147\141\228\189\160\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140" local Toggle = false -- Functions local Teleport = function(CFrame) local Time = (LocalPlayer.Character.HumanoidRootPart.Position - CFrame.Position).Magnitude / (Settings.Speed * 10) if (LocalPlayer.Character.HumanoidRootPart.Position - CFrame.Position).Magnitude < 10 then LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame else TweenService:Create(LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {CFrame = CFrame}):Play() wait(Time) end end -- Start UserInputService.InputBegan:Connect(function(Input) if string.lower(Input.KeyCode.Name) == string.lower(Settings.Key) then Toggle = true end end) repeat wait() for _,a in pairs(Workspace.NPCSpawns:GetDescendants()) do if Settings.Mobs[a.Name] == true then local Human, Corpse, Connection = a, nil, nil if Human then Connection = Human.ChildAdded:Connect(function(Child) if string.find(Child.Name, "Corpse") then Corpse = Child Connection:Disconnect() end end) if Human then repeat wait() pcall(function() Teleport(Human.HumanoidRootPart.CFrame + Human.HumanoidRootPart.CFrame.LookVector * -4) LocalPlayer.Character.Remotes.KeyEvent:FireServer(Input, "Mouse1", "Down", Human.HumanoidRootPart.CFrame, Camera.CFrame, LocalPlayer.Character.HumanoidRootPart.Position) end) until Corpse or Toggle if Toggle then return end for _,b in pairs(Corpse:GetChildren()) do if b:FindFirstChildWhichIsA("ClickDetector") then repeat wait() Teleport(Corpse.HumanoidRootPart.CFrame) fireclickdetector(b:FindFirstChildWhichIsA("ClickDetector")) until not Corpse.Parent end end end end end end until Toggle