How to get the button that the player pressed in a notification?

Basically I wan’t to know how I can get the response/what button the player pressed.

1 Like
local Func ="BindableFunction")

function Func.OnInvoke(Response)

game:GetService("StarterGui"):SetCore("SendNotification", {
	Title = "notification",
	Text = "description",
	Duration = 10,
	Callback = Func,
	Button1 = "option 1",
	Button2 = "option 2"

Thank you, just a quick question, where do you find solutions, is it just you know it because you once learned it or do you search it up in the roblox API reference?

Edit: I should have done some research because I literally found the solution in the API reference lol

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.