--BROUGHT TO YOU BY RobloxScripter.com!--
local plr = game.Players.LocalPlayer -- Local player variable
local plrChar = plr.Character -- Local character variable
local hRP = plrChar.HumanoidRootPart -- Character humanoid root part variable
local heistNumber = 1
while heistNumber 0 do
wait()
for i ,v in pairs (vItem:GetChildren()) do
local mFound = false
if v:IsA("Model") then
mFound = true
end
if mFound == true then
print(vItem.Name)
game:GetService("ReplicatedStorage").remoteInterface.jobs.action:InvokeServer(vItem,1)
end
end
attempts = attempts - 1
end
end
end
heistNumber = heistNumber + 1
end