
100.5k Views
7 Executions
Nofication maker
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
Notifications maker
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









new ver works perfectly, big vouch from me use this script
@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.
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
@Orealated I'll let you know when I put it in a Module.
I guess I can do that, but do you find it good for being a Module too?@Orealated
This should have been a module @Nolanz
@idk1234 The new version is out