Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. ------------------------MAKE YOUR OWN NOTIFICATION!-------------------------
  2. --Thanks For Using This Script Now I Will Show You How To Use Notification--
  3. --Step 1. Change Something In Title And Text
  4. --Step 2. Find A Decal, Copy And Paste In The Icon
  5. --Step 3. Change The Button1 And Button2 What Ever You Want
  6.  
  7. --If You Don't Know Put Somethings In The Comment
  8.  
  9. -----------Remove If You Don't Want A Notification With A Button------------
  10. local function callback(text)
  11. if text == "Button1" then --You Can Change This Text
  12. return --Put Some Commands Or Let It Stay
  13. elseif text == "Button2" then --You Can Change This Text
  14. return --Put Some Commands Or Let It Stay
  15. end
  16. end
  17. ----------------------------------------------------------------------------
  18. wait(5)
  19. -----------Remove If You Don't Want A Notification With A Button------------
  20. local bindablefunction = Instance.new("BindableFunction")
  21. bindablefunction.OnInvoke = callback
  22. ----------------------------------------------------------------------------
  23. game.StarterGui:SetCore("SendNotification", {
  24. Title = "Glass";
  25. Text = "Glass has Loaded";
  26. Icon = "http://www.roblox.com/asset/?id=1118316158";
  27. Duration = "10";
  28. -----------Remove If You Don't Want A Notification With A Button------------
  29. callback = bindablefunction;
  30. Button1 = "Button1";
  31. Button2 = "Button2";
  32. ----------------------------------------------------------------------------
  33. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement