local plr = game:GetService("Players").LocalPlayer local event = game:GetService("ReplicatedStorage").Events.RepairItem local function findTycoon() for i,v in pairs(workspace.Tycoons:GetChildren()) do if v.Owner.Value == plr.Name then return v end end end local tycoon = findTycoon() print("tycoon: " .. tycoon.Name) while true do for i,v in pairs(tycoon.PlacedContent:GetChildren()) do local hp = v:WaitForChild("DestroyHP",2) if hp then if hp.Value <= 25 then task.spawn(function() for i = 1,6 do event:InvokeServer(v) wait(0.1) end end) end end end wait() end