local player = game:GetService("Players").LocalPlayer local userId = player.UserId local function x1() for _, van in ipairs(workspace:GetChildren()) do if van:IsA("Model") and van.Name == "DeliveryVan" then for _, part in ipairs(van:GetChildren()) do if part:GetAttribute("OwnerUserId") == userId then return van end end end end return nil end local function x2() local validNames = { SmallBox = true, MediumBox = true, LargeBox = true, GreenBox = true } local owned = {} for _, model in ipairs(workspace:GetChildren()) do if model:IsA("Model") and validNames[model.Name] and model:GetAttribute("OwnerUserId") == userId then table.insert(owned, model) end end return owned end local function x3(van) local targetSize = Vector3.new(8, 1, 18.25) for _, part in ipairs(van:GetDescendants()) do if part:IsA("BasePart") and part.Size == targetSize then return part end end return nil end local function x4(boxes, storage) local offset = Vector3.new(0, 2, 0) for _, box in ipairs(boxes) do local part = box:FindFirstChild("Box") if part and part:IsA("BasePart") then part.CFrame = storage.CFrame + offset else warn("Missing part 'Box' in:", box.Name) end end end local van = x1() if not van then warn("No van found.") return end local storage = x3(van) if not storage then warn("No storage part found in van.") return end local boxes = x2() if #boxes == 0 then warn("No boxes found.") return end x4(boxes, storage)