Facebook
From Gruff Hamerkop, 1 Year ago, written in Plain Text.
This paste is a reply to loadstring(game:HttpGet( from mate - view diff
Embed
Download Paste or View Raw
Hits: 463
  1. local Nofitication = {}
  2.  
  3. local GUI = game:GetService("CoreGui"):FindFirstChild("STX_Nofitication")
  4. function Nofitication:Notify(nofdebug, middledebug, all)
  5.     local SelectedType = string.lower(tostring(middledebug.Type))
  6.     local ambientShadow = Instance.new("ImageLabel")
  7.     local Window = Instance.new("Frame")
  8.     local Outline_A = Instance.new("Frame")
  9.     local WindowTitle = Instance.new("TextLabel")
  10.     local WindowDescription = Instance.new("TextLabel")
  11.    
  12.     ambientShadow.Name = "ambientShadow"
  13.     ambientShadow.Parent = GUI
  14.     ambientShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  15.     ambientShadow.BackgroundTransparency = 1.000
  16.     ambientShadow.BorderSizePixel = 0
  17.     ambientShadow.Position = UDim2.new(0.91525954, 0, 0.936809778, 0)
  18.     ambientShadow.Size = UDim2.new(0, 0, 0, 0)
  19.     ambientShadow.Image = "rbxassetid://1316045217"
  20.     ambientShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
  21.     ambientShadow.ImageTransparency = 0.400
  22.     ambientShadow.ScaleType = Enum.ScaleType.Slice
  23.     ambientShadow.SliceCenter = Rect.new(10, 10, 118, 118)
  24.    
  25.     Window.Name = "Window"
  26.     Window.Parent = ambientShadow
  27.     Window.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  28.     Window.BorderSizePixel = 0
  29.     Window.Position = UDim2.new(0, 5, 0, 5)
  30.     Window.Size = UDim2.new(0, 230, 0, 80)
  31.     Window.ZIndex = 2
  32.    
  33.     Outline_A.Name = "Outline_A"
  34.     Outline_A.Parent = Window
  35.     Outline_A.BackgroundColor3 = middledebug.OutlineColor
  36.     Outline_A.BorderSizePixel = 0
  37.     Outline_A.Position = UDim2.new(0, 0, 0, 25)
  38.     Outline_A.Size = UDim2.new(0, 230, 0, 2)
  39.     Outline_A.ZIndex = 5
  40.    
  41.     WindowTitle.Name = "WindowTitle"
  42.     WindowTitle.Parent = Window
  43.     WindowTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  44.     WindowTitle.BackgroundTransparency = 1.000
  45.     WindowTitle.BorderColor3 = Color3.fromRGB(27, 42, 53)
  46.     WindowTitle.BorderSizePixel = 0
  47.     WindowTitle.Position = UDim2.new(0, 8, 0, 2)
  48.     WindowTitle.Size = UDim2.new(0, 222, 0, 22)
  49.     WindowTitle.ZIndex = 4
  50.     WindowTitle.Font = Enum.Font.GothamSemibold
  51.     WindowTitle.Text = nofdebug.Title
  52.     WindowTitle.TextColor3 = Color3.fromRGB(220, 220, 220)
  53.     WindowTitle.TextSize = 12.000
  54.     WindowTitle.TextXAlignment = Enum.TextXAlignment.Left
  55.    
  56.     WindowDescription.Name = "WindowDescription"
  57.     WindowDescription.Parent = Window
  58.     WindowDescription.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  59.     WindowDescription.BackgroundTransparency = 1.000
  60.     WindowDescription.BorderColor3 = Color3.fromRGB(27, 42, 53)
  61.     WindowDescription.BorderSizePixel = 0
  62.     WindowDescription.Position = UDim2.new(0, 8, 0, 34)
  63.     WindowDescription.Size = UDim2.new(0, 216, 0, 40)
  64.     WindowDescription.ZIndex = 4
  65.     WindowDescription.Font = Enum.Font.GothamSemibold
  66.     WindowDescription.Text = nofdebug.Description
  67.     WindowDescription.TextColor3 = Color3.fromRGB(180, 180, 180)
  68.     WindowDescription.TextSize = 12.000
  69.     WindowDescription.TextWrapped = true
  70.     WindowDescription.TextXAlignment = Enum.TextXAlignment.Left
  71.     WindowDescription.TextYAlignment = Enum.TextYAlignment.Top
  72.  
  73.     if SelectedType == "default" then
  74.         local function ORBHB_fake_script()
  75.             local script = Instance.new('LocalScript', ambientShadow)
  76.        
  77.             ambientShadow:TweenSize(UDim2.new(0, 240, 0, 90), "Out", "Linear", 0.2)
  78.             Window.Size = UDim2.new(0, 230, 0, 80)
  79.             Outline_A:TweenSize(UDim2.new(0, 0, 0, 2), "Out", "Linear", middledebug.Time)
  80.    
  81.             wait(middledebug.Time)
  82.        
  83.             ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  84.            
  85.             wait(0.2)
  86.             ambientShadow:Destroy()
  87.         end
  88.         coroutine.wrap(ORBHB_fake_script)()
  89.     elseif SelectedType == "image" then
  90.         ambientShadow:TweenSize(UDim2.new(0, 240, 0, 90), "Out", "Linear", 0.2)
  91.         Window.Size = UDim2.new(0, 230, 0, 80)
  92.         WindowTitle.Position = UDim2.new(0, 24, 0, 2)
  93.         local ImageButton = Instance.new("ImageButton")
  94.         ImageButton.Parent = Window
  95.         ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  96.         ImageButton.BackgroundTransparency = 1.000
  97.         ImageButton.BorderSizePixel = 0
  98.         ImageButton.Position = UDim2.new(0, 4, 0, 4)
  99.         ImageButton.Size = UDim2.new(0, 18, 0, 18)
  100.         ImageButton.ZIndex = 5
  101.         ImageButton.AutoButtonColor = false
  102.         ImageButton.Image = all.Image
  103.         ImageButton.ImageColor3 = all.ImageColor
  104.  
  105.         local function ORBHB_fake_script()
  106.             local script = Instance.new('LocalScript', ambientShadow)
  107.        
  108.             Outline_A:TweenSize(UDim2.new(0, 0, 0, 2), "Out", "Linear", middledebug.Time)
  109.  
  110.             wait(middledebug.Time)
  111.        
  112.             ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  113.            
  114.             wait(0.2)
  115.             ambientShadow:Destroy()
  116.         end
  117.         coroutine.wrap(ORBHB_fake_script)()
  118.     elseif SelectedType == "option" then
  119.         ambientShadow:TweenSize(UDim2.new(0, 240, 0, 110), "Out", "Linear", 0.2)
  120.         Window.Size = UDim2.new(0, 230, 0, 100)
  121.         local Uncheck = Instance.new("ImageButton")
  122.         local Check = Instance.new("ImageButton")
  123.        
  124.         Uncheck.Name = "Uncheck"
  125.         Uncheck.Parent = Window
  126.         Uncheck.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  127.         Uncheck.BackgroundTransparency = 1.000
  128.         Uncheck.BorderSizePixel = 0
  129.         Uncheck.Position = UDim2.new(0, 7, 0, 76)
  130.         Uncheck.Size = UDim2.new(0, 18, 0, 18)
  131.         Uncheck.ZIndex = 5
  132.         Uncheck.AutoButtonColor = false
  133.         Uncheck.Image = "http://www.roblox.com/asset/?id=6031094678"
  134.         Uncheck.ImageColor3 = Color3.fromRGB(255, 84, 84)
  135.        
  136.         Check.Name = "Check"
  137.         Check.Parent = Window
  138.         Check.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  139.         Check.BackgroundTransparency = 1.000
  140.         Check.BorderSizePixel = 0
  141.         Check.Position = UDim2.new(0, 28, 0, 76)
  142.         Check.Size = UDim2.new(0, 18, 0, 18)
  143.         Check.ZIndex = 5
  144.         Check.AutoButtonColor = false
  145.         Check.Image = "http://www.roblox.com/asset/?id=6031094667"
  146.         Check.ImageColor3 = Color3.fromRGB(83, 230, 50)
  147.  
  148.         local function ORBHB_fake_script()
  149.             local script = Instance.new('LocalScript', ambientShadow)
  150.        
  151.             local Stilthere = true
  152.             local function Unchecked()
  153.                 pcall(function()
  154.                     all.Callback(false)
  155.                 end)
  156.                 ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  157.                
  158.                 wait(0.2)
  159.                 ambientShadow:Destroy()
  160.                 Stilthere = false
  161.             end
  162.             local function Checked()
  163.                 pcall(function()
  164.                     all.Callback(true)
  165.                 end)
  166.                 ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  167.                
  168.                 wait(0.2)
  169.                 ambientShadow:Destroy()
  170.                 Stilthere = false
  171.             end
  172.             Uncheck.MouseButton1Click:Connect(Unchecked)
  173.             Check.MouseButton1Click:Connect(Checked)
  174.            
  175.             Outline_A:TweenSize(UDim2.new(0, 0, 0, 2), "Out", "Linear", middledebug.Time)
  176.    
  177.             wait(middledebug.Time)
  178.  
  179.             if Stilthere == true then
  180.        
  181.                 ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  182.                
  183.                 wait(0.2)
  184.                 ambientShadow:Destroy()
  185.             end
  186.         end
  187.         coroutine.wrap(ORBHB_fake_script)()
  188.     end
  189. end
  190.  
  191. return Nofitication
captcha