Gas Station Simulator Script | KILL SERVER

Created by TheCrazyInsanity

Features:

while wait(0.2) do
local the1 = game.Workspace.Checkouts.Register_Test1.Items:GetChildren()
if #the1 > 0 then
for i,v in pairs(game:GetService("Workspace").Checkouts["Register_Test1"].Items:GetChildren()) do
local string_1 = "ScanItem";
local userdata_1 = v
local userdata_2 = game:GetService("Workspace").Checkouts["Register_Test1"];
local Target = game:GetService("ReplicatedStorage").Remote;
Target:FireServer(string_1, userdata_1, userdata_2);
end
end
wait(0.1)
if game:GetService("Workspace").Checkouts:GetChildren("Register_Test_2").Name == "Register_Test_2" then
local the2 = game.Workspace.Checkouts.Register_Test_2.Items:GetChildren()
if #the2 > 0 then
for i,v in pairs(game:GetService("Workspace").Checkouts["Register_Test_2"].Items:GetChildren()) do
local string_1 = "ScanItem";
local userdata_1 = v
local userdata_2 = game:GetService("Workspace").Checkouts["Register_Test_2"];
local Target = game:GetService("ReplicatedStorage").Remote;
Target:FireServer(string_1, userdata_1, userdata_2);
end
end
end
end