fork-K

Untitled

Aug 17th, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. local function callback(Text)
  2. if Text == "Yes" then
  3. loadstring(game:HttpGet("https://pastebin.com/raw/xY27ASht"))()
  4. elseif Text == ("No") then
  5. print ("Answer2")
  6. end
  7. end
  8. --
  9. local NotificationBindable = Instance.new("BindableFunction")
  10. NotificationBindable.OnInvoke = callback
  11. --
  12. game.StarterGui:SetCore("SendNotification", {
  13. Title = "Title";
  14. Text = "Description";
  15. Icon = "rbxassetid://14469756391";
  16. Duration = 100;
  17. Button1 = "Yes";
  18. Button2 = "No";
  19. Callback = NotificationBindable;
  20. })
  21. --
  22.  
Advertisement
Add Comment
Please, Sign In to add comment