blog counter
open source notification Script

open source notification Script Copy and Download

Blox Fruits is an immensely popular game on the Roblox platform, boasting a vast user base. This action-adventure game revolves around a pirate theme, where players enagage in combat against a variety of enemies and challenging bosses. Exploring islands and consuming different fruits are essential for advancing your character’s level.open source notification Script

What is Roblox Script?

Roblox Scripts typically refer to snippets of code that offer automation advantages within the game. Independent developers and scripters create these scripts, which are not officially endorsed by the Roblox platform. Nevertheless, you can still utilize these scripts through Roblox executors such as Arceus X, Hydrogen Executor, JJSploit, Fluxus executor, and others.

How to Use Roblox Script?

  1. Launch Roblox and join your desired game.
  2. Click the “Copy” button to duplicate the script code.
  3. Paste the script code into your preferred Roblox executor.
  4. Execute the script code and savor the enhanced experience.
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- ================================
-- properties section
-- ================================

-- colors for title, description, background, and progress bar
local TITLE_COLOR = Color3.fromRGB(180, 90, 230)  -- vibrant purple for title
local DESCRIPTION_COLOR = Color3.fromRGB(70, 130, 255)  -- vibrant blue for description
local BG_COLOR_START = Color3.fromRGB(60, 60, 150)  -- darker blue for background
local BG_COLOR_END = Color3.fromRGB(130, 50, 180)  -- darker purple for background
local PROGRESS_BAR_COLOR = Color3.fromRGB(0, 255, 0)  -- green progress bar

-- sizes (width and height for notification, progress bar)
local NOTIFICATION_WIDTH = 250
local NOTIFICATION_HEIGHT = 100
local PROGRESS_BAR_HEIGHT = 10

-- positioning (position of the notification on screen)
local POSITION_X = 1  -- right-aligned
local POSITION_Y = -120  -- close to the bottom of the screen

-- duration (in seconds) for progress bar to complete
local PROGRESS_DURATION = 5


-- ================================
-- variables section
-- ================================

-- create screen gui for notification ui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "NotificationGui"
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
screenGui.ResetOnSpawn = false

-- create main notification frame
local notificationFrame = Instance.new("Frame")
notificationFrame.Size = UDim2.new(0, NOTIFICATION_WIDTH, 0, NOTIFICATION_HEIGHT)
notificationFrame.Position = UDim2.new(1, -NOTIFICATION_WIDTH - 10, 1, POSITION_Y)
notificationFrame.BackgroundTransparency = 0
notificationFrame.BorderSizePixel = 0
notificationFrame.BackgroundColor3 = BG_COLOR_START
notificationFrame.Parent = screenGui

-- add gradient to the notification background
local notificationGradient = Instance.new("UIGradient")
notificationGradient.Color = ColorSequence.new({
    ColorSequenceKeypoint.new(0, BG_COLOR_START),
    ColorSequenceKeypoint.new(1, BG_COLOR_END)
})
notificationGradient.Rotation = 45
notificationGradient.Parent = notificationFrame

-- round corners for the notification frame
local notificationCorner = Instance.new("UICorner")
notificationCorner.CornerRadius = UDim.new(0, 12)
notificationCorner.Parent = notificationFrame


-- ================================
-- title and description section
-- ================================

-- title label (purple text)
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(1, 0, 0, 30)
titleLabel.Position = UDim2.new(0, 0, 0, 10)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Test"  -- customizable title
titleLabel.TextSize = 18
titleLabel.TextColor3 = TITLE_COLOR
titleLabel.TextWrapped = true
titleLabel.TextStrokeTransparency = 0.6
titleLabel.Parent = notificationFrame

-- add gradient effect to the title
local titleGradient = Instance.new("UIGradient")
titleGradient.Color = ColorSequence.new({
    ColorSequenceKeypoint.new(0, BG_COLOR_START),
    ColorSequenceKeypoint.new(1, BG_COLOR_END)
})
titleGradient.Rotation = 45
titleGradient.Parent = titleLabel

-- description label (blue text)
local descriptionLabel = Instance.new("TextLabel")
descriptionLabel.Size = UDim2.new(1, 0, 0, 30)
descriptionLabel.Position = UDim2.new(0, 0, 0, 40)
descriptionLabel.BackgroundTransparency = 1
descriptionLabel.Text = "Text"  -- customizable description
descriptionLabel.TextSize = 16
descriptionLabel.TextColor3 = DESCRIPTION_COLOR
descriptionLabel.TextWrapped = true
descriptionLabel.TextStrokeTransparency = 0.6
descriptionLabel.Parent = notificationFrame

-- add gradient effect to the description
local descriptionGradient = Instance.new("UIGradient")
descriptionGradient.Color = ColorSequence.new({
    ColorSequenceKeypoint.new(0, BG_COLOR_START),
    ColorSequenceKeypoint.new(1, BG_COLOR_END)
})
descriptionGradient.Rotation = 45
descriptionGradient.Parent = descriptionLabel


-- ================================
-- progress bar section
-- ================================

-- create the progress bar section (background)
local progressSection = Instance.new("Frame")
progressSection.Size = UDim2.new(1, 0, 0, PROGRESS_BAR_HEIGHT)
progressSection.Position = UDim2.new(0, 0, 1, -12)
progressSection.BackgroundTransparency = 0.5
progressSection.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
progressSection.BorderSizePixel = 0
progressSection.Parent = notificationFrame

-- round corners for the progress bar section
local progressSectionCorner = Instance.new("UICorner")
progressSectionCorner.CornerRadius = UDim.new(0, 8)
progressSectionCorner.Parent = progressSection

-- create the progress bar itself (initial size 0)
local progressBar = Instance.new("Frame")
progressBar.Size = UDim2.new(0, 0, 1, 0)
progressBar.BackgroundColor3 = PROGRESS_BAR_COLOR
progressBar.BorderSizePixel = 0
progressBar.Parent = progressSection

-- round corners for the progress bar
local progressCorner = Instance.new("UICorner")
progressCorner.CornerRadius = UDim.new(0, 8)
progressCorner.Parent = progressBar


-- ================================
-- animation and clean-up
-- ================================

-- smoothly fill the progress bar over the specified duration
for i = 0, PROGRESS_DURATION, 0.2 do
    local progress = i / PROGRESS_DURATION
    progressBar.Size = UDim2.new(progress, 0, 1, 0)
    wait(0.2)
end

-- wait a little after the progress bar fills, then clean up
wait(0.5)
notificationFrame.Visible = false
notificationFrame:Destroy()

Join Telegram

Remember to employ a dummy account when injecting scripts. We cannot be held responsible for any potential harm caused to your Roblox account.

Description

just a notification