Run it
Copy the script and paste it into your executor.
TweenService = :()
SoundService = :()
player = .Players.LocalPlayer
player
()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = player:()
notificationFrame = .()
notificationFrame.Name =
notificationFrame.Size = .(, , , )
notificationFrame.Position = .(, -, , -)
notificationFrame.AnchorPoint = .(, )
notificationFrame.BackgroundTransparency =
notificationFrame.Parent = screenGui
uiListLayout = .()
uiListLayout.SortOrder = .SortOrder.LayoutOrder
uiListLayout.VerticalAlignment = .VerticalAlignment.Bottom
uiListLayout.Padding = .(, )
uiListLayout.Parent = notificationFrame
notificationColors = {
Info = {bg = .(, , ), text = .(, , )},
Success = {bg = .(, , ), text = .(, , )},
Warning = {bg = .(, , ), text = .(, , )},
Error = {bg = .(, , ), text = .(, , )},
Neutral = {bg = .(, , ), text = .(, , )},
Achievement = {bg = .(, , ), text = .(, , )},
Update = {bg = .(, , ), text = .(, , )},
Reminder = {bg = .(, , ), text = .(, , )}
}
()
sound = .()
sound.SoundId =
sound.Volume =
sound.Parent = SoundService
sound:()
sound.Ended:(()
sound:()
)
(title, description, notificationType, duration, showProgressBar)
description = description
duration = duration
notificationColors[notificationType]
( .. (notificationType))
notificationTemplate = .()
notificationTemplate.Size = .(, , , )
notificationTemplate.BackgroundTransparency =
notificationTemplate.BorderSizePixel =
notificationTemplate.ClipsDescendants =
uiCorner = .()
uiCorner.CornerRadius = .(, )
uiCorner.Parent = notificationTemplate
uiStroke = .()
uiStroke.Thickness =
uiStroke.Transparency =
uiStroke.Parent = notificationTemplate
titleLabel = .()
titleLabel.Size = .(, -, , -)
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.Font = .Font.GothamBold
titleLabel.TextScaled =
titleLabel.TextSize =
titleLabel.TextTransparency =
titleLabel.TextColor3 = notificationColors[notificationType].text
titleLabel.Text = title
titleLabel.TextXAlignment = .TextXAlignment.Left
titleLabel.Parent = notificationTemplate
descriptionLabel = .()
descriptionLabel.Size = .(, -, , -)
descriptionLabel.Position = .(, , , )
descriptionLabel.BackgroundTransparency =
descriptionLabel.Font = .Font.Gotham
descriptionLabel.TextScaled =
descriptionLabel.TextSize =
descriptionLabel.TextTransparency =
descriptionLabel.TextColor3 = notificationColors[notificationType].text
descriptionLabel.Text = description
descriptionLabel.TextXAlignment = .TextXAlignment.Left
descriptionLabel.Parent = notificationTemplate
showProgressBar
progressBar = .()
progressBar.Size = .(, , , )
progressBar.Position = .(, , , )
progressBar.BackgroundColor3 = .(, , )
progressBar.BorderSizePixel =
progressBar.Parent = notificationTemplate
progressTween = TweenService:(progressBar, TweenInfo.(duration, .EasingStyle.Linear), {Size = .(, -, , )})
progressTween:()
notificationTemplate.BackgroundColor3 = notificationColors[notificationType].bg
uiStroke.Color = notificationColors[notificationType].bg
notificationTemplate.Visible =
notificationTemplate.Parent = notificationFrame
notificationTemplate.Position = .(, , , )
notificationTemplate.Size = .(, , , )
slideInTween = TweenService:(notificationTemplate, TweenInfo.(, .EasingStyle.Bounce, .EasingDirection.Out), {Position = .(, -, , ), BackgroundTransparency = , Size = .(, , , )})
titleFadeInTween = TweenService:(titleLabel, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.Out), {TextTransparency = })
descriptionFadeInTween = TweenService:(descriptionLabel, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.Out), {TextTransparency = })
slideInTween:()
titleFadeInTween:()
descriptionFadeInTween:()
()
.(duration)
slideOutTween = TweenService:(notificationTemplate, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.In), {Position = .(, , , ), BackgroundTransparency = , Size = .(, , , )})
titleFadeOutTween = TweenService:(titleLabel, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.In), {TextTransparency = })
descriptionFadeOutTween = TweenService:(descriptionLabel, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.In), {TextTransparency = })
slideOutTween:()
titleFadeOutTween:()
descriptionFadeOutTween:()
slideOutTween.Completed:(()
notificationTemplate:()
)
notifications = {
{title = , description = , = , duration = , showProgressBar = },
{title = , description = , = , duration = , showProgressBar = },
{title = , description = , = , duration = , showProgressBar = },
{title = , description = , = , duration = , showProgressBar = },
{title = , description = , = , duration = , showProgressBar = },
{title = , description = , = , duration = , showProgressBar = },
{title = , description = , = , duration = , showProgressBar = },
{title = , description = , = , duration = , showProgressBar = }
}
_, notification (notifications)
(notification.title, notification.description, notification.type, notification.duration, notification.showProgressBar)
.()