Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Callback(answer)
- if answer == "Accept" then
- game.StarterGui:SetCore("SendNotification", {
- Title = "Good ending.";
- Text = "You accepted the friend request resulting in the good ending. Congratulations.";
- Duration = "300";
- Icon = "rbxassetid://7852528120";
- })
- elseif answer == "Decline" then
- game.StarterGui:SetCore("SendNotification", {
- Title = "I see how it is";
- Text = "Understandable. Have a good day.";
- Duration = "300";
- Icon = "rbxassetid://7852526508";
- })
- end
- end
- local Bindable = Instance.new("BindableFunction")
- Bindable.OnInvoke = Callback
- game.StarterGui:SetCore("SendNotification", {
- Title = "New Friend";
- Text = "sethy1096 Good luck You'll need it";
- Duration = "300";
- Button1 = "Accept";
- Button2 = "Decline";
- Icon = "rbxassetid://7852491183";
- Callback = Bindable
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement