Hey, I'm trying to make a script send a notification.
function Notify(title,message,duration)
if title and message and duration then
game.StarterGui:SetCore('SendNotification', {
Title = title;
Text = message;
Duration = duration
})
end
end
So that wouldn't work inside a regular script. It has to be fired from a localscript. My case requires me to call it from a script and not a localscript. So far my best aim is to create a localscript with the content to send a notification. Either that or clone a script that already has it. I've tried the clone method that works only in studio but fails inside of the actual game.

1 comment
Is there a reason you don't want to use local scripts?