Universal Script πŸ“Œ
100.5k Views
10 Executions

Nofication maker

Universal Script πŸ“Œ
Nolanz
NolanzPublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Notifications maker

Updates

  1. Script edited: Create script

View Raw
local TweenService = game:GetService("TweenService")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "NotificationGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = game.Players.LocalPlayer: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)}
}

local function createNotification(title, description, notificationType, duration, priority)
    description = description or ""
    duration = duration or 5
    priority = priority or 1

    local notificationTemplate = Instance.new("Frame")
    notificationTemplate.Size = UDim2.new(1, 0, 0.2, 0)
    notificationTemplate.BackgroundTransparency = 1


Comments

11
Log in to join the conversation. Login
idk1234's profile picture
idk12342 years ago(edited)

new ver works perfectly, big vouch from me use this script

2
Nolanz's profile picture
NolanzUploader2 years ago(edited)

@idk1234, This script can be used for practically anything you want, including notifications. For example, if you're in a game, it can alert you when an admin, moderator, or even the creator joins. It's basic, simple, but effective. Personally, I'm not sure what else it's used for, but it works well for notifications.

2
idk1234's profile picture
idk12342 years ago(edited)

Works on solara which is awesome, just a quick question whats the script used for? because i get the notifcations and the script loaded so fast. W script huge vouch

2
Nolanz's profile picture
NolanzUploader2 years ago(edited)

@Orealated I'll let you know when I put it in a Module.

1
Nolanz's profile picture
NolanzUploader2 years ago(edited)

I guess I can do that, but do you find it good for being a Module too?@Orealated

1
Orealated's profile picture
Orealated2 years ago(edited)

This should have been a module @Nolanz

1
Nolanz's profile picture
NolanzUploader2 years ago(edited)

@idk1234 The new version is out

1

More universal scripts

See all
Script hub
33.0k
298.1k
Bumped 27 minutes ago
Script hub
23.6k
5.2k
Bumped 27 minutes ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
174
527
Bumped 57 minutes ago
Universal Script πŸ“Œ
1.6k
30.2k
Bumped 58 minutes ago
Script hub
4.1M
558.5k
Bumped 1 hour ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
28.9k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.5k
Bumped 3 hours ago