Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------MAKE YOUR OWN NOTIFICATION!-------------------------
- --Thanks For Using This Script Now I Will Show You How To Use Notification--
- --Step 1. Change Something In Title And Text
- --Step 2. Find A Decal, Copy And Paste In The Icon
- --Step 3. Change The Button1 And Button2 What Ever You Want
- --If You Don't Know Put Somethings In The Comment
- -----------Remove If You Don't Want A Notification With A Button------------
- local function callback(text)
- if text == "Button1" then --You Can Change This Text
- return --Put Some Commands Or Let It Stay
- elseif text == "Button2" then --You Can Change This Text
- return --Put Some Commands Or Let It Stay
- end
- end
- ----------------------------------------------------------------------------
- wait(5)
- -----------Remove If You Don't Want A Notification With A Button------------
- local bindablefunction = Instance.new("BindableFunction")
- bindablefunction.OnInvoke = callback
- ----------------------------------------------------------------------------
- game.StarterGui:SetCore("SendNotification", {
- Title = "Glass";
- Text = "Glass has Loaded";
- Icon = "http://www.roblox.com/asset/?id=1118316158";
- Duration = "10";
- -----------Remove If You Don't Want A Notification With A Button------------
- callback = bindablefunction;
- Button1 = "Button1";
- Button2 = "Button2";
- ----------------------------------------------------------------------------
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement