TwoSide3Point0

wadaw

May 5th, 2022 (edited)
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.81 KB | None | 0 0
  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. local smooth = Instance.new("UICorner")
  12. local smooth2 = Instance.new("UICorner")
  13.  
  14. ambientShadow.Name = "ambientShadow"
  15. ambientShadow.Parent = GUI
  16. ambientShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  17. ambientShadow.BackgroundTransparency = 1.000
  18. ambientShadow.BorderSizePixel = 0
  19. ambientShadow.Position = UDim2.new(0.91525954, 0, 0.936809778, 0)
  20. ambientShadow.Size = UDim2.new(0, 0, 0, 0)
  21. ambientShadow.Image = "rbxassetid://1316045217"
  22. ambientShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
  23. ambientShadow.ImageTransparency = 0.400
  24. ambientShadow.ScaleType = Enum.ScaleType.Slice
  25. ambientShadow.SliceCenter = Rect.new(10, 10, 118, 118)
  26.  
  27. Window.Name = "Window"
  28. Window.Parent = ambientShadow
  29. Window.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
  30. Window.BorderSizePixel = 0
  31. Window.Position = UDim2.new(0, 5, 0, 5)
  32. Window.Size = UDim2.new(0, 230, 0, 80)
  33. Window.ZIndex = 2
  34.  
  35. Outline_A.Name = "Outline_A"
  36. Outline_A.Parent = Window
  37. Outline_A.BackgroundColor3 = middledebug.OutlineColor
  38. Outline_A.BorderSizePixel = 0
  39. Outline_A.Position = UDim2.new(0, 0, 0, 25)
  40. Outline_A.Size = UDim2.new(0, 230, 0, 2)
  41. Outline_A.ZIndex = 5
  42.  
  43. WindowTitle.Name = "WindowTitle"
  44. WindowTitle.Parent = Window
  45. WindowTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  46. WindowTitle.BackgroundTransparency = 1.000
  47. WindowTitle.BorderColor3 = Color3.fromRGB(27, 42, 53)
  48. WindowTitle.BorderSizePixel = 0
  49. WindowTitle.Position = UDim2.new(0, 8, 0, 2)
  50. WindowTitle.Size = UDim2.new(0, 222, 0, 22)
  51. WindowTitle.ZIndex = 4
  52. WindowTitle.Font = Enum.Font.GothamSemibold
  53. WindowTitle.Text = nofdebug.Title
  54. WindowTitle.TextColor3 = Color3.fromRGB(220, 220, 220)
  55. WindowTitle.TextSize = 12.000
  56. WindowTitle.TextXAlignment = Enum.TextXAlignment.Left
  57.  
  58. WindowDescription.Name = "WindowDescription"
  59. WindowDescription.Parent = Window
  60. WindowDescription.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  61. WindowDescription.BackgroundTransparency = 1.000
  62. WindowDescription.BorderColor3 = Color3.fromRGB(27, 42, 53)
  63. WindowDescription.BorderSizePixel = 0
  64. WindowDescription.Position = UDim2.new(0, 8, 0, 34)
  65. WindowDescription.Size = UDim2.new(0, 216, 0, 40)
  66. WindowDescription.ZIndex = 4
  67. WindowDescription.Font = Enum.Font.GothamSemibold
  68. WindowDescription.Text = nofdebug.Description
  69. WindowDescription.TextColor3 = Color3.fromRGB(180, 180, 180)
  70. WindowDescription.TextSize = 12.000
  71. WindowDescription.TextWrapped = true
  72. WindowDescription.TextXAlignment = Enum.TextXAlignment.Left
  73. WindowDescription.TextYAlignment = Enum.TextYAlignment.Top
  74.  
  75. smooth.Parent = Window
  76.  
  77. smooth2.Parent = Outline_A
  78.  
  79. if SelectedType == "default" then
  80. local function ORBHB_fake_script()
  81. local script = Instance.new('LocalScript', ambientShadow)
  82.  
  83. ambientShadow:TweenSize(UDim2.new(0, 240, 0, 90), "Out", "Linear", 0.2)
  84. Window.Size = UDim2.new(0, 230, 0, 80)
  85. Outline_A:TweenSize(UDim2.new(0, 0, 0, 2), "Out", "Linear", middledebug.Time)
  86.  
  87. wait(middledebug.Time)
  88.  
  89. ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  90.  
  91. wait(0.2)
  92. ambientShadow:Destroy()
  93. end
  94. coroutine.wrap(ORBHB_fake_script)()
  95. elseif SelectedType == "image" then
  96. ambientShadow:TweenSize(UDim2.new(0, 240, 0, 90), "Out", "Linear", 0.2)
  97. Window.Size = UDim2.new(0, 230, 0, 80)
  98. WindowTitle.Position = UDim2.new(0, 24, 0, 2)
  99. local ImageButton = Instance.new("ImageButton")
  100. ImageButton.Parent = Window
  101. ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  102. ImageButton.BackgroundTransparency = 1.000
  103. ImageButton.BorderSizePixel = 0
  104. ImageButton.Position = UDim2.new(0, 4, 0, 4)
  105. ImageButton.Size = UDim2.new(0, 18, 0, 18)
  106. ImageButton.ZIndex = 5
  107. ImageButton.AutoButtonColor = false
  108. ImageButton.Image = all.Image
  109. ImageButton.ImageColor3 = all.ImageColor
  110.  
  111. local function ORBHB_fake_script()
  112. local script = Instance.new('LocalScript', ambientShadow)
  113.  
  114. Outline_A:TweenSize(UDim2.new(0, 0, 0, 2), "Out", "Linear", middledebug.Time)
  115.  
  116. wait(middledebug.Time)
  117.  
  118. ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  119.  
  120. wait(0.2)
  121. ambientShadow:Destroy()
  122. end
  123. coroutine.wrap(ORBHB_fake_script)()
  124. elseif SelectedType == "option" then
  125. ambientShadow:TweenSize(UDim2.new(0, 240, 0, 110), "Out", "Linear", 0.2)
  126. Window.Size = UDim2.new(0, 230, 0, 100)
  127. local Uncheck = Instance.new("ImageButton")
  128. local Check = Instance.new("ImageButton")
  129.  
  130. Uncheck.Name = "Uncheck"
  131. Uncheck.Parent = Window
  132. Uncheck.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  133. Uncheck.BackgroundTransparency = 1.000
  134. Uncheck.BorderSizePixel = 0
  135. Uncheck.Position = UDim2.new(0, 7, 0, 76)
  136. Uncheck.Size = UDim2.new(0, 18, 0, 18)
  137. Uncheck.ZIndex = 5
  138. Uncheck.AutoButtonColor = false
  139. Uncheck.Image = "http://www.roblox.com/asset/?id=6031094678"
  140. Uncheck.ImageColor3 = Color3.fromRGB(255, 84, 84)
  141.  
  142. Check.Name = "Check"
  143. Check.Parent = Window
  144. Check.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  145. Check.BackgroundTransparency = 1.000
  146. Check.BorderSizePixel = 0
  147. Check.Position = UDim2.new(0, 28, 0, 76)
  148. Check.Size = UDim2.new(0, 18, 0, 18)
  149. Check.ZIndex = 5
  150. Check.AutoButtonColor = false
  151. Check.Image = "http://www.roblox.com/asset/?id=6031094667"
  152. Check.ImageColor3 = Color3.fromRGB(83, 230, 50)
  153.  
  154. local function ORBHB_fake_script()
  155. local script = Instance.new('LocalScript', ambientShadow)
  156.  
  157. local Stilthere = true
  158. local function Unchecked()
  159. pcall(function()
  160. all.Callback(false)
  161. end)
  162. ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  163.  
  164. wait(0.2)
  165. ambientShadow:Destroy()
  166. Stilthere = false
  167. end
  168. local function Checked()
  169. pcall(function()
  170. all.Callback(true)
  171. end)
  172. ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  173.  
  174. wait(0.2)
  175. ambientShadow:Destroy()
  176. Stilthere = false
  177. end
  178. Uncheck.MouseButton1Click:Connect(Unchecked)
  179. Check.MouseButton1Click:Connect(Checked)
  180.  
  181. Outline_A:TweenSize(UDim2.new(0, 0, 0, 2), "Out", "Linear", middledebug.Time)
  182.  
  183. wait(middledebug.Time)
  184.  
  185. if Stilthere == true then
  186.  
  187. ambientShadow:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 0.2)
  188.  
  189. wait(0.2)
  190. ambientShadow:Destroy()
  191. end
  192. end
  193. coroutine.wrap(ORBHB_fake_script)()
  194. end
  195. end
  196.  
  197. return Nofitication
Add Comment
Please, Sign In to add comment