Run it
Copy the script and paste it into your executor.
NotificationSystem = {}
TweenService = :()
CoreGui = :()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = CoreGui
NotificationFrame = .()
NotificationFrame.Name =
NotificationFrame.Size = .(, , , )
NotificationFrame.Position = .(, -, , )
NotificationFrame.BackgroundTransparency =
NotificationFrame.Parent = ScreenGui
UIListLayout = .()
UIListLayout.Parent = NotificationFrame
UIListLayout.SortOrder = .SortOrder.LayoutOrder
UIListLayout.Padding = .(, )
UIListLayout.VerticalAlignment = .VerticalAlignment.Bottom
(title, text, duration, buttonText, buttonCallback)
Notification = .()
Notification.Name =
Notification.Size = .(, , , buttonText )
Notification.BackgroundColor3 = .(, , )
Notification.BackgroundTransparency =
Notification.BorderSizePixel =
UICorner = .()
UICorner.CornerRadius = .(, )
UICorner.Parent = Notification
TitleLabel = .()
TitleLabel.Name =
TitleLabel.Size = .(, -, , )
TitleLabel.Position = .(, , , )
TitleLabel.BackgroundTransparency =
TitleLabel.Font = .Font.GothamBold
TitleLabel.TextColor3 = .(, , )
TitleLabel.TextTransparency =
TitleLabel.TextSize =
TitleLabel.TextXAlignment = .TextXAlignment.Left
TitleLabel.Text = title
TitleLabel.Parent = Notification
TextLabel = .()
TextLabel.Name =
TextLabel.Size = .(, -, , buttonText )
TextLabel.Position = .(, , , )
TextLabel.BackgroundTransparency =
TextLabel.Font = .Font.Gotham
TextLabel.TextColor3 = .(, , )
TextLabel.TextTransparency =
TextLabel.TextSize =
TextLabel.TextXAlignment = .TextXAlignment.Left
TextLabel.TextYAlignment = .TextYAlignment.Top
TextLabel.TextWrapped =
TextLabel.Text = text
TextLabel.Parent = Notification
ProgressBar = .()
ProgressBar.Name =
ProgressBar.Size = .(, , , )
ProgressBar.Position = .(, , , -)
ProgressBar.BackgroundColor3 = .(, , )
ProgressBar.BackgroundTransparency =
ProgressBar.BorderSizePixel =
ProgressBar.Parent = Notification
Button
buttonText
Button = .()
Button.Name =
Button.Size = .(, , , )
Button.Position = .(, -, , -)
Button.BackgroundColor3 = .(, , )
Button.BackgroundTransparency =
Button.BorderSizePixel =
Button.Font = .Font.Gotham
Button.TextColor3 = .(, , )
Button.TextTransparency =
Button.TextSize =
Button.Text = buttonText
Button.Parent = Notification
ButtonUICorner = .()
ButtonUICorner.CornerRadius = .(, )
ButtonUICorner.Parent = Button
Button.MouseButton1Click:(()
buttonCallback
()
Notification:()
)
Notification.Parent = NotificationFrame
fadeTweenInfo = TweenInfo.(, .EasingStyle.Quart, .EasingDirection.Out)
fadeTween = TweenService:(Notification, fadeTweenInfo, {BackgroundTransparency = })
titleFadeTween = TweenService:(TitleLabel, fadeTweenInfo, {TextTransparency = })
textFadeTween = TweenService:(TextLabel, fadeTweenInfo, {TextTransparency = })
progressFadeTween = TweenService:(ProgressBar, fadeTweenInfo, {BackgroundTransparency = })
fadeTween:()
titleFadeTween:()
textFadeTween:()
progressFadeTween:()
Button
buttonFadeTween = TweenService:(Button, fadeTweenInfo, {BackgroundTransparency = , TextTransparency = })
buttonFadeTween:()
progressTweenInfo = TweenInfo.(duration, .EasingStyle.Linear)
progressTween = TweenService:(ProgressBar, progressTweenInfo, {Size = .(, , , )})
progressTween:()
.(duration, ()
Notification.Parent
fadeOutTween = TweenService:(Notification, fadeTweenInfo, {BackgroundTransparency = })
titleFadeOutTween = TweenService:(TitleLabel, fadeTweenInfo, {TextTransparency = })
textFadeOutTween = TweenService:(TextLabel, fadeTweenInfo, {TextTransparency = })
progressFadeOutTween = TweenService:(ProgressBar, fadeTweenInfo, {BackgroundTransparency = })
fadeOutTween:()
titleFadeOutTween:()
textFadeOutTween:()
progressFadeOutTween:()
Button Button.Parent
buttonFadeOutTween = TweenService:(Button, fadeTweenInfo, {BackgroundTransparency = , TextTransparency = })
buttonFadeOutTween:()
.(fadeTweenInfo.Time)
Notification.Parent
Notification:()
)
NotificationSystem:(title, text, duration, buttonText, buttonCallback)
(title, text, duration, buttonText, buttonCallback)
NotificationSystemLoads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com.
a very simple notification system that can also have a button

Universal