local function LoadItems()
for _, v in pairs(workspace:GetDescendants()) do
if v:IsA("Model") and v.Name == "ItemRoom" then
if not v:FindFirstChild("Item") then
print("no item bool")
local ItemBool = Instance.new("BoolValue")
ItemBool.Name = "Item"
ItemBool.Parent = v
local ItemFind, i = chooseRandomItem()
local chosenItem = ReplicatedStorage.Items:FindFirstChild(ItemFind) -- err here...
local ClonedItem = chosenItem:Clone()
ClonedItem.Parent = v
ClonedItem:SetPrimaryPartCFrame(v.ItemLocation.CFrame)
ItemDesc()
if chosenItem:FindFirstChild("OneUse") then
table.remove(Items,i)
end
end
end
end
end
idk why im getting an Argument 1 missing or nil...

2 comments
I meant to delete my answer. The issue was, the way I would choose an item based on rarity it wouldnt reset so it would try to pick the item again but the item is nil because there was nothing in the table for it.
Well good thing you fixed it :D Then accept my ans To give us rewards and close the page