MaxproGlitcher

Notification-TweenService 1 1/2

Jul 14th, 2024 (edited)
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.61 KB | None | 0 0
  1. repeat wait() until game:IsLoaded()
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local UIListLayout = Instance.new("UIListLayout")
  5. local CloseFrame = Instance.new("Frame")
  6.  
  7. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  8. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  9.  
  10. Frame.Parent = ScreenGui
  11. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  12. Frame.BackgroundTransparency = 0.990
  13. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  14. Frame.BorderSizePixel = 0
  15. Frame.Position = UDim2.new(0.65, 0, 0.65, 0)
  16. Frame.Size = UDim2.new(0.33, 0, 0.3, 0)
  17.  
  18. UIListLayout.Parent = Frame
  19. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Right
  20. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  21. UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Bottom
  22. UIListLayout.Padding = UDim.new(0, 10)
  23.  
  24. CloseFrame.Name = "CloseFrame"
  25. CloseFrame.Parent = ScreenGui
  26. CloseFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  27. CloseFrame.BackgroundTransparency = 1.000
  28. CloseFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  29. CloseFrame.BorderSizePixel = 0
  30. CloseFrame.Position = UDim2.new(0.65, 0, 0.65, 0)
  31. CloseFrame.Size = UDim2.new(0.33, 0, 0.3, 0)
  32.  
  33. local mewing10 = {}
  34. function mewing10.NormalNotification(conpigs)
  35. conpigs = conpigs or {}
  36. conpigs.Title = conpigs.Title or "Gui MaxproGlitcher"
  37. conpigs.Description = conpigs.Description or "Est ce que tu aime le script??"
  38. conpigs.ImagesID = conpigs.ImagesID or "http://www.roblox.com/asset/?id=14154109741"
  39. conpigs.SoundID = conpigs.SoundID or ""
  40. conpigs.Duration = conpigs.Duration or 5
  41.  
  42. local NormalNofitication = Instance.new("Frame")
  43. local Image = Instance.new("ImageLabel")
  44. local Title = Instance.new("TextLabel")
  45. local Description = Instance.new("TextLabel")
  46. local Hide = Instance.new("ImageButton")
  47. local sound = Instance.new("Sound")
  48.  
  49. NormalNofitication.Name = "NormalNofitication"
  50. NormalNofitication.Parent = Frame
  51. NormalNofitication.BackgroundColor3 = Color3.fromRGB(21, 21, 21)
  52. NormalNofitication.BackgroundTransparency = 0.200
  53. NormalNofitication.BorderColor3 = Color3.fromRGB(0, 0, 0)
  54. NormalNofitication.BorderSizePixel = 0
  55. NormalNofitication.Position = UDim2.new(0, 0, 0.075000003, 0)
  56. NormalNofitication.Size = UDim2.new(0, 0, 0, 120) -- 0, 330, 0, 120
  57.  
  58. Image.Name = "Image"
  59. Image.Parent = NormalNofitication
  60. Image.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  61. Image.BackgroundTransparency = 1.000
  62. Image.BorderColor3 = Color3.fromRGB(0, 0, 0)
  63. Image.BorderSizePixel = 0
  64. Image.Position = UDim2.new(0.075757578, 0, 0.178739056, 0)
  65. Image.Size = UDim2.new(0, 50, 0, 50)
  66. Image.Image = conpigs.ImagesID
  67. Image.Visible = false
  68.  
  69. Title.Name = "Title"
  70. Title.Parent = NormalNofitication
  71. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  72. Title.BackgroundTransparency = 1.000
  73. Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
  74. Title.BorderSizePixel = 0
  75. Title.Position = UDim2.new(0.272727281, 0, 0.1037037, 0)
  76. Title.Size = UDim2.new(0, 200, 0, 20)
  77. Title.Font = Enum.Font.GothamBold
  78. Title.Text = conpigs.Title
  79. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  80. Title.TextSize = 18.000
  81. Title.TextXAlignment = Enum.TextXAlignment.Left
  82. Title.TextYAlignment = Enum.TextYAlignment.Top
  83. Title.Visible = false
  84.  
  85. Description.Name = "Description"
  86. Description.Parent = NormalNofitication
  87. Description.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  88. Description.BackgroundTransparency = 0.990
  89. Description.BorderColor3 = Color3.fromRGB(0, 0, 0)
  90. Description.BorderSizePixel = 0
  91. Description.Position = UDim2.new(0.273000002, 0, 0.273000002, 0)
  92. Description.Size = UDim2.new(0, 200, 0, 70)
  93. Description.Font = Enum.Font.Nunito
  94. Description.FontFace.Bold = true
  95. Description.Text = conpigs.Description
  96. Description.TextColor3 = Color3.fromRGB(150, 150, 150)
  97. Description.TextSize = 15.000
  98. Description.TextWrapped = true
  99. Description.TextXAlignment = Enum.TextXAlignment.Left
  100. Description.TextYAlignment = Enum.TextYAlignment.Top
  101. Description.Visible = false
  102.  
  103. Hide.Name = "Hide"
  104. Hide.Parent = NormalNofitication
  105. Hide.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  106. Hide.BackgroundTransparency = 1.000
  107. Hide.BorderColor3 = Color3.fromRGB(0, 0, 0)
  108. Hide.BorderSizePixel = 0
  109. Hide.Position = UDim2.new(0.909090936, 0, 0.100000001, 0)
  110. Hide.Size = UDim2.new(0, 20, 0, 20)
  111. Hide.Image = "rbxassetid://7733717755"
  112. Hide.Visible = false
  113.  
  114. sound.SoundId = conpigs.SoundID
  115. sound.Parent = game:GetService("Workspace")
  116. sound:Play()
  117.  
  118. game:GetService("TweenService"):Create(NormalNofitication,TweenInfo.new(0.15,Enum.EasingStyle.Quad),{Size = UDim2.new(0, 330, 0, 120)}):Play()
  119. task.wait(0.25)
  120. NormalNofitication.Visible = true
  121. Title.Visible = true
  122. Description.Visible = true
  123. Hide.Visible = true
  124. Image.Visible = true
  125.  
  126. Hide.MouseButton1Click:connect(function()
  127. game:GetService("TweenService"):Create(NormalNofitication,TweenInfo.new(0.15,Enum.EasingStyle.Quad),{Size = UDim2.new(0, 0, 0, 120)}):Play()
  128. Title.Visible = false
  129. Description.Visible = false
  130. Hide.Visible = false
  131. Image.Visible = false
  132. task.wait(.15)
  133. game:GetService("TweenService"):Create(NormalNofitication,TweenInfo.new(0.15,Enum.EasingStyle.Quad),{Size = UDim2.new(0, 0, 0, 0)}):Play()
  134. task.wait(.15)
  135. NormalNofitication:Destroy()
  136. end)
  137.  
  138. task.spawn(function()
  139. task.wait(conpigs.Duration)
  140. game:GetService("TweenService"):Create(NormalNofitication,TweenInfo.new(0.15,Enum.EasingStyle.Quad),{Size = UDim2.new(0, 0, 0, 120)}):Play()
  141. Title.Visible = false
  142. Description.Visible = false
  143. Hide.Visible = false
  144. Image.Visible = false
  145. task.wait(.15)
  146. game:GetService("TweenService"):Create(NormalNofitication,TweenInfo.new(0.15,Enum.EasingStyle.Quad),{Size = UDim2.new(0, 0, 0, 0)}):Play()
  147. task.wait(.15)
  148. NormalNofitication:Destroy()
  149. end)
  150. end
  151.  
  152. function mewing10.ReplyNofitication(conpigs) -- or you can call it TextboxNofitication
  153. conpigs.Title = conpigs.Title or "Mom"
  154. conpigs.Description = conpigs.Description or "why are you so ugly?"
  155. conpigs.ImagesID = conpigs.ImagesID or "http://www.roblox.com/asset/?id=14154109741"
  156. conpigs.SoundID = conpigs.SoundID or ""
  157. conpigs.PlaceholderText = conpigs.PlaceholderText or "Type a reply"
  158. conpigs.SendCallback = conpigs.SendCallback or function() print("kys mom") end
  159.  
  160. local TextboxNofitication = Instance.new("Frame")
  161. local Image_2 = Instance.new("ImageLabel")
  162. local Title_2 = Instance.new("TextLabel")
  163. local Description_2 = Instance.new("TextLabel")
  164. local Hide_2 = Instance.new("ImageButton")
  165. local TextBox = Instance.new("TextBox")
  166. local Send = Instance.new("ImageButton")
  167. local TextButton = Instance.new("TextButton")
  168. local sound = Instance.new("Sound")
  169.  
  170. TextboxNofitication.Name = "TextboxNofitication"
  171. TextboxNofitication.Parent = Frame
  172. TextboxNofitication.BackgroundColor3 = Color3.fromRGB(21, 21, 21)
  173. TextboxNofitication.BackgroundTransparency = 0.200
  174. TextboxNofitication.BorderColor3 = Color3.fromRGB(0, 0, 0)
  175. TextboxNofitication.BorderSizePixel = 0
  176. TextboxNofitication.Position = UDim2.new(0, 0, 0.262499988, 0)
  177. TextboxNofitication.Size = UDim2.new(0, 0, 0, 120)
  178.  
  179. Image_2.Name = "Image"
  180. Image_2.Parent = TextboxNofitication
  181. Image_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  182. Image_2.BackgroundTransparency = 1.000
  183. Image_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  184. Image_2.BorderSizePixel = 0
  185. Image_2.Position = UDim2.new(0.075757578, 0, 0.178739056, 0)
  186. Image_2.Size = UDim2.new(0, 50, 0, 50)
  187. Image_2.Image = conpigs.ImagesID
  188.  
  189. Title_2.Name = "Title"
  190. Title_2.Parent = TextboxNofitication
  191. Title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  192. Title_2.BackgroundTransparency = 1.000
  193. Title_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  194. Title_2.BorderSizePixel = 0
  195. Title_2.Position = UDim2.new(0.272727281, 0, 0.1037037, 0)
  196. Title_2.Size = UDim2.new(0, 200, 0, 20)
  197. Title_2.Font = Enum.Font.GothamBold
  198. Title_2.Text = conpigs.Title
  199. Title_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  200. Title_2.TextSize = 18.000
  201. Title_2.TextXAlignment = Enum.TextXAlignment.Left
  202. Title_2.TextYAlignment = Enum.TextYAlignment.Top
  203.  
  204. Description_2.Name = "Description"
  205. Description_2.Parent = TextboxNofitication
  206. Description_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  207. Description_2.BackgroundTransparency = 0.990
  208. Description_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  209. Description_2.BorderSizePixel = 0
  210. Description_2.Position = UDim2.new(0.272999883, 0, 0.273000091, 0)
  211. Description_2.Size = UDim2.new(0, 200, 0, 51)
  212. Description_2.Font = Enum.Font.Nunito
  213. Description_2.FontFace.Bold = true
  214. Description_2.Text = conpigs.Description
  215. Description_2.TextColor3 = Color3.fromRGB(150, 150, 150)
  216. Description_2.TextSize = 15.000
  217. Description_2.TextWrapped = true
  218. Description_2.TextXAlignment = Enum.TextXAlignment.Left
  219. Description_2.TextYAlignment = Enum.TextYAlignment.Top
  220.  
  221. Hide_2.Name = "Hide"
  222. Hide_2.Parent = TextboxNofitication
  223. Hide_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  224. Hide_2.BackgroundTransparency = 1.000
  225. Hide_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  226. Hide_2.BorderSizePixel = 0
  227. Hide_2.Position = UDim2.new(0.909090936, 0, 0.100000001, 0)
  228. Hide_2.Size = UDim2.new(0, 20, 0, 20)
  229. Hide_2.Visible = false
  230. Hide_2.Image = "rbxassetid://7733717755"
  231.  
  232. TextBox.Parent = TextboxNofitication
  233. TextBox.BackgroundColor3 = Color3.fromRGB(50,50,50)
  234. TextBox.BackgroundTransparency = 0
  235. TextBox.BorderColor3 = Color3.fromRGB(100,100,100)
  236. TextBox.BorderSizePixel = 1
  237. TextBox.Position = UDim2.new(0.075757578, 0, 0.75, 0)
  238. TextBox.Size = UDim2.new(0, 250, 0, 20)
  239. TextBox.Font = Enum.Font.SourceSans
  240. TextBox.PlaceholderText = conpigs.PlaceholderText
  241. TextBox.Text = ""
  242. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  243. TextBox.TextSize = 14.000
  244. TextBox.TextWrapped = true
  245. TextBox.ClearTextOnFocus = false
  246. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  247.  
  248. Send.Name = "Send"
  249. Send.Parent = TextboxNofitication
  250. Send.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
  251. Send.BorderColor3 = Color3.fromRGB(110, 110, 110)
  252. Send.BorderSizePixel = 2
  253. Send.Position = UDim2.new(0.860606074, 0, 0.75, 0)
  254. Send.Size = UDim2.new(0, 31, 0, 20)
  255. Send.Visible = false
  256. Send.Image = "rbxassetid://7734053039"
  257. Send.ScaleType = Enum.ScaleType.Fit
  258.  
  259. TextButton.Parent = TextboxNofitication
  260. TextButton.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
  261. TextButton.BorderColor3 = Color3.fromRGB(120, 120, 120)
  262. TextButton.BorderSizePixel = 0
  263. TextButton.BackgroundTransparency = 1
  264. TextButton.Position = UDim2.new(0.860606074, 0, 0.75, 0)
  265. TextButton.Size = UDim2.new(0, 30, 0, 20)
  266. TextButton.Font = Enum.Font.SourceSans
  267. TextButton.Text = "Send"
  268. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  269. TextButton.TextSize = 14.000
  270.  
  271. sound.SoundId = conpigs.SoundID
  272. sound.Parent = game:GetService("Workspace")
  273. sound:Play()
  274.  
  275. game:GetService("TweenService"):Create(TextboxNofitication,TweenInfo.new(0.15,Enum.EasingStyle.Quad),{Size = UDim2.new(0, 330, 0, 120)}):Play()
  276. task.wait(0.25)
  277. Title_2.Visible = true
  278. Description_2.Visible = true
  279. Image_2.Visible = true
  280.  
  281. TextButton.MouseButton1Click:connect(function()
  282. game:GetService("TweenService"):Create(TextboxNofitication,TweenInfo.new(0.15,Enum.EasingStyle.Quad),{Size = UDim2.new(0, 0, 0, 120)}):Play()
  283. Title_2.Visible = false
  284. Description_2.Visible = false
  285. Hide_2.Visible = false
  286. Image_2.Visible = false
  287. TextBox.Visible = false
  288.  
  289. TextButton.Visible = false
  290. task.wait(.15)
  291. game:GetService("TweenService"):Create(TextboxNofitication,TweenInfo.new(0.15,Enum.EasingStyle.Quad),{Size = UDim2.new(0, 0, 0, 0)}):Play()
  292. task.wait(.15)
  293. TextboxNofitication:Destroy()
  294. conpigs.SendCallback(TextBox.Text)
  295. end)
  296. end
  297. return mewing10
Advertisement
Add Comment
Please, Sign In to add comment