--BROUGHT TO YOU BY RobloxScripter.com!--
game:GetService("Players").LocalPlayer.PlayerGui.MainUI.Frame.Catalog.Container.DescendantAdded:Connect(function(p1)
if p1.Name == "Item" then
local o1 = p1
if o1.Icon["new_clock"].Visible == true or o1.Icon.new.Visible == true then
local string_1 = o1.name.Text;
local Target = game:GetService("ReplicatedStorage").Remotes.Purchaseltem;
Target:InvokeServer(string_1);
end
end
end)