Sending a Message
Type : String
Type : StringGenre : String
Genre : StringArgs : Table
Args : TableExample Script
local event = game:GetService("ReplicatedStorage"):WaitForChild("ActivExternaleAPI")
if not event then
warn("Warn :: Event was not found in ReplicatedStorage!!")
end
local noticeTable = {
["Message"] = "Need help? Visit our communications server."
}
local alertTable = {
["Message"] = "This is an error message."
}
local scstbl = { -- success table
["Message"] = "This is a success message."
}
while wait(5) do
event:Fire("SendMessage", "Notice", noticeTable)
event:Fire("SendMessage", "Alert", alertTable)
event:Fire("SendMessage", "Notification", scstbl)
end -- this will send all the messages every 5 seconds(loop)Last updated

