Notification System
Key RequiredUniversal

Notification System

Universal Scriptstavstav 1.3K views 9 executesUpdated Aug 23, 2025
5.0/ 5(2 votes)
20100% Positive
Lua Script•16 lines (432 chars)
return {
        NewNotification = function(title, txt, dur, buttons)
            local starterGui = cloneref(game:GetService('StarterGui'))
            local packet = {
                Title = title,
                Text = txt,
                Duration = dur
            }

            for i,v in buttons do
                packet[i] = v
            end

            starterGui:SetCore('SendNotification', packet)
        end
    }

Features & Information

sends notifications This is meant to act like a table, you can change it to not be a return but a table. Example: Notif.NewNotification('journey.lol', 'test', 5, { Callback = function(callback) if callback then print(callback) end end, Button1 = 'Accept', Button2 = 'Decline' })

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts