Usage
:newServer()
local Notif = require(game.ReplicatedStorage.NS_Notification.Notification)
local Icons = require(game.ReplicatedStorage.NS_Notification.IconPresets)
Notif:newServer(color, icon, duration, title, msg)
:newClient()
local Notif = require(game.ReplicatedStorage.NS_Notification.Notification)
local Icons = require(game.ReplicatedStorage.NS_Notification.IconPresets)
Notif:newClient(target, color, icon, duration, title, msg)
Example
local Notif = require(game.ReplicatedStorage.NS_Notification.Creator)
local Icons = require(game.ReplicatedStorage.NS_Notification.IconPresets)
Notif:newServer(Color3.fromRGB(60, 149, 41), Icons.Bullhorn, 10, "Announcement", "Thanks for checking out the Notification System!")
local Notif = require(game.ReplicatedStorage.NS_Notification.Notification)
local Icons = require(game.ReplicatedStorage.NS_Notification.IconPresets)
game.Players.PlayerAdded:Connect(fucntion(plr)
plr.CharacterAdded:Wait()
Notif:newClient(plr, Color3.fromRGB(18, 150, 64), Icons.Notification, 10, "Welcome!", "Welcome to the game! Enjoy your time here!"
end)
Last updated