The initial friend request message (where you accept/decline it) does work, but, if you accept it, the message saying "new friend" doesn't appear. There are also no errors in output. Help would be much appreciated, thanks!
wait(0)
local function callback(Text)
if Text == "Accept" then
print ("Accepted friend request")
game.StarterGui:SetCore("Notification", {
Title = "Thanos";
Text = "New Friend";
Icon = "http://www.roblox.com/asset/?id=3264340825";
})
elseif Text == "Decline" then
print("Declined friend request")
end
end
local NotificationBindable = Instance.new("BindableFunction")
game.StarterGui:SetCore("SendNotification", {
Title = "Thanos";
Text = "Sent you a friend request!";
Icon = "http://www.roblox.com/asset/?id=3264340825";
Duration = 5;
Button1 = "Accept";
Button2 = "Decline";
Callback = NotificationBindable;
})
