Lancere

:troll:

Oct 27th, 2021
1,084
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Callback(answer)
  2.     if answer == "Accept" then
  3.         game.StarterGui:SetCore("SendNotification", {
  4.             Title = "Good ending.";
  5.             Text = "You accepted the friend request resulting in the good ending. Congratulations.";
  6.             Duration = "300";
  7.             Icon = "rbxassetid://7852528120";
  8.         })
  9.     elseif answer == "Decline" then
  10.         game.StarterGui:SetCore("SendNotification", {
  11.             Title = "I see how it is";
  12.             Text = "Understandable. Have a good day.";
  13.             Duration = "300";
  14.             Icon = "rbxassetid://7852526508";
  15.         })
  16.     end
  17. end
  18.  
  19. local Bindable = Instance.new("BindableFunction")
  20. Bindable.OnInvoke = Callback
  21.  
  22. game.StarterGui:SetCore("SendNotification", {
  23.     Title = "New Friend";
  24.     Text = "sethy1096 Good luck You'll need it";
  25.     Duration = "300";
  26.     Button1 = "Accept";
  27.     Button2 = "Decline";
  28.     Icon = "rbxassetid://7852491183";
  29.     Callback = Bindable
  30. })
RAW Paste Data