local rs = game:GetService("ReplicatedStorage") local touchRemote = rs:WaitForChild("SetupConveyorTouches") local npcRemote = rs:WaitForChild("NPCDecision") local doSellers = true local doNPCs = true local function sellStuff() for _, obj in pairs(workspace:GetDescendants()) do if obj.Name == "Seller" then touchRemote:FireServer(obj, math.huge, 1) end end end local function shootNPCs() for _, obj in pairs(workspace:GetDescendants()) do if string.sub(obj.Name, 1, 4) == "NPC_" then npcRemote:FireServer("Fire", obj) end end end if doSellers then sellStuff() end if doNPCs then shootNPCs() end