local StarterGui = game:GetService("StarterGui") local CoreGui = game:GetService("CoreGui") StarterGui:SetCore("SendNotification", { Title = "Roblox", Text = "Sent you a friend request!", Icon = "https://www.roblox.com/headshot-thumbnail/image?userId=1&width=420&height=420&format=png", Duration = 5, Button1 = "Accept", Button2 = "Decline" }) local NotificationFrame repeat NotificationFrame = CoreGui:FindFirstChild("RobloxGui") and CoreGui.RobloxGui:FindFirstChild("NotificationFrame") task.wait(0.1) until NotificationFrame local Button1 repeat Button1 = NotificationFrame:FindFirstChild("Notification") and NotificationFrame.Notification:FindFirstChild("Button1") task.wait(0.3) until Button1 Button1.MouseButton1Click:Connect(function() StarterGui:SetCore("SendNotification", { Title = "New Friend", Text = "Roblox", Icon = "https://www.roblox.com/headshot-thumbnail/image?userId=1&width=420&height=420&format=png", Duration = 5 }) end)