RoCitizens | Autofarm | Nurse & Clerk

Uploaded On
Script Credit :- Melancholy
Features

Autofarm

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

local Mode = "" --// Nurse or Clerk --[[ Chad script below ]] local FoodClerkStations = game:GetService("Workspace").WorkEnvironments["Nomburger_Food Clerk"] local CashierStations = game:GetService("Workspace").WorkEnvironments["SuperMart_Cashier"] local HospitalStations = game:GetService("Workspace").WorkEnvironments["Hospital_Nurse"] local function GetClerkOrder(Customer) local Text = Customer.StatusPart.OrderDisplay.Bubble.Frame:GetChildren() local t = {} for i,v in pairs(Text) do table.insert(t, v.Name) end return t end local function CompleteClerkOrders() for i,v in pairs(FoodClerkStations:GetChildren()) do if v.Name == "Station" then local Customer = v.Customers:FindFirstChild("Customer") if Customer then pcall(function() workspace.WorkEnvironments["Nomburger_Food Clerk"].EnvironmentHandler.CompleteOrder:FireServer(v, GetClerkOrder(Customer)) end) end end end end local function CompleteCashierOrders() for i,v in pairs(CashierStations:GetChildren()) do if v.Name == "Station" then local Customer = v.Customers:FindFirstChild("Customer") if Customer then pcall(function() workspace.WorkEnvironments["SuperMart_Cashier"].EnvironmentHandler.CompleteOrder:FireServer(v, {}) end) end end end end local function CompleteNurseJobs() for i,v in pairs(HospitalStations:GetChildren()) do if v.Name == "Station" then local Patient = v.Patients:FindFirstChild("Patient") if Patient then game:GetService("ReplicatedStorage").Relays.Work.FulfillPatient:FireServer(Patient, "Success") end end end end if Mode == "Nurse" then while wait(5) do CompleteNurseJobs() end elseif Mode == "Clerk" then while wait(2) do CompleteClerkOrders() CompleteCashierOrders() end end