
1.3k Views
12 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
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' })
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
}
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








