Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function callback(Text)
- if Text == "Button1 text" then
- print ("Answer")
- elseif Text == ("Button2 text") then
- print ("Answer2")
- end
- end
- local NotificationBindable = Instance.new("BindableFunction")
- NotificationBindable.OnInvoke = callback
- --
- game.StarterGui:SetCore("SendNotification", {
- Title = "Cyblox";
- Text = "Running Version V1.0.1";
- Icon = "";
- Duration = 5;
- Button1 = "Okay";
- Callback = NotificationBindable;
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement