Basically I wan’t to know how I can get the response/what button the player pressed.
1 Like
local Func = Instance.new("BindableFunction")
function Func.OnInvoke(Response)
print(Response)
end
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "notification",
Text = "description",
Duration = 10,
Callback = Func,
Button1 = "option 1",
Button2 = "option 2"
})
2 Likes
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.