local Players = game:GetService("Players") local Workspace = game:GetService("Workspace") local RS = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer spawn(function() while true do if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then for _, t in pairs(Workspace.Tycoons:GetChildren()) do local owner = t:FindFirstChild("TycoonInfo") and t.TycoonInfo:FindFirstChild("Owner") local debris = t:FindFirstChild("ItemDebris") if owner and owner.Value == player and debris then for _, item in pairs(debris:GetChildren()) do if item:IsA("BasePart") or item:IsA("Model") then RS:WaitForChild("RF"):WaitForChild("CollectItem"):InvokeServer(item) end end end end end wait(0.1) end end)