local function destroyDrop(drop) task.spawn(function() local oldParent = drop.Parent drop.Parent = despawnedDrops -- Nowy kod if drop.Name == "BigChest" then local counter = UX.Counter local text = counter.CounterDisplay.CounterFrame.CounterText local spawnTime = 10 counter.Position = drop:FindFirstChildWhichIsA("MeshPart").Position counter.Parent = oldParent for zegar = 0, spawnTime do local timer = spawnTime - zegar local minutes = math.floor(timer/60) local seconds = timer%60 if minutes >= 10 then if seconds >= 10 then text.Text = "The chest will respawn in " .. minutes ..":".. seconds else text.Text = "The chest will respawn in " .. minutes .. ":0" .. seconds end else if seconds >= 10 then text.Text = "The chest will respawn in 0" .. minutes .. ":" .. seconds else text.Text = "The chest will respawn in 0" .. minutes .. ":0" .. seconds end end wait(1) end counter.Parent = UX else wait(4) -- Przeniesione z linijki niżej end -- Koniec nowego kodu drop.CurrentPoints.Value = drop.MaxPoints.Value drop.Parent = oldParent end) end