
118.3k Views
17 Executions
NotificationMaker V2
Universal Script 📌
NolanzPublished 10
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
createNotification(Title, Description, Type, Duration, ProgressBar(Optional)) Ex: createNotification("Example Notification, "My Description", "Info", 5, true) Made by DarknessEaterX (Roblox user) [me]
local TweenService = game:GetService("TweenService")
local SoundService = game:GetService("SoundService")
-- Ensure LocalPlayer is available
local player = game.Players.LocalPlayer
if not player then
warn("LocalPlayer not found!")
return
end
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "NotificationGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")
local notificationFrame = Instance.new("Frame")
notificationFrame.Name = "NotificationFrame"
notificationFrame.Size = UDim2.new(0.3, 0, 0.5, 0)
notificationFrame.Position = UDim2.new(1, -20, 1, -20)
notificationFrame.AnchorPoint = Vector2.new(1, 1)
notificationFrame.BackgroundTransparency = 1
notificationFrame.Parent = screenGui
local uiListLayout = Instance.new("UIListLayout")
uiListLayout.SortOrder = Enum.SortOrder.LayoutOrder
uiListLayout.VerticalAlignment = Enum.VerticalAlignment.Bottom
uiListLayout.Padding = UDim.new(0, 10)
uiListLayout.Parent = notificationFrame
local notificationColors = {
Info = {bg = Color3.fromRGB(45, 125, 255), text = Color3.new(1, 1, 1)},
Success = {bg = Color3.fromRGB(40, 167, 69), text = Color3.new(1, 1, 1)},
Warning = {bg = Color3.fromRGB(255, 193, 7), text = Color3.new(0, 0, 0)},
Error = {bg = Color3.fromRGB(220, 53, 69), text = Color3.new(1, 1, 1)},
Neutral = {bg = Color3.fromRGB(108, 117, 125), text = Color3.new(1, 1, 1)},
Achievement = {bg = Color3.fromRGB(255, 215, 0), text = Color3.new(0, 0, 0)},
Update = {bg = Color3.fromRGB(0, 123, 255), text = Color3.new(1, 1, 1)},
Reminder = {bg = Color3.fromRGB(255, 87, 34), text = Color3.new(1, 1, 1)}
}









Same made with Perplexity
chatgpt