airsoftweapons

Untitled

Mar 31st, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. local function callback(Text)
  2. if Text == "Yes" then
  3. print("Enjoy")
  4. elseif Text == "No" then
  5. print("WHY...")
  6. end
  7. end
  8. local NotificationBindable = Instance.new("BindableFunction")
  9. NotificationBindable.OnInvoke = callback
  10.  
  11. game.StarterGui:SetCore("SendNotification", {
  12. Title = "Injection Status";
  13. Text = "Already Injected";
  14. icon = "";
  15. Duration = 5;
  16. Button1 = "Ok";
  17.  
  18. callback = NotificationBindable;
  19.  
  20. })
Add Comment
Please, Sign In to add comment