So I was trying to make a notification that is a question with options to answer with and what's suppose to happen is when you choose something it prints something in the output but it wouldn't work. I was using BindableFunctions and callbacks to do this. Heres the script used.
vvvvvvvvvv
local function callback(Text)
if Text == "Yes" then
print("Yes")
elseif Text == "No" then
print("No")
end
end
local NotificationBindable = Instance.new("BindableFunction")
NotificationBindable .OnInvoke = callback()
game.StarterGui:SetCore("SendNotification",{
Title = "UwU Hello";
Text = "Do u like flamingo";
Icon = "";
Duration = "5";
Button1 = "Yes";
Button2 = "No";
callback0 = NotificationBindable
})

4 comments
thanks ill see if this works
im glad you found out about this
works thank you so much i was about to give up on this script i really apreciate it
np :p