How can i detect Notifications

Hi i want to detect if player has a notification but my scripts dont work can someone help me?

Script :

print(game.StarterGui:GetCore("SendNotification"))

Error : image

How can i fix this?

I don’t know much about GetCore(idk if GetCore is a thing either, you may be looking for SetCore) but I have some articles that may help.

SetCore Article
Devforum Artcle.

I would also recommend putting SetCore in a pcall as it may fail.

local Success, Error = pcall(function()
    --Code
end)
1 Like

Ok Thanks For Help :slight_smile:

You could try to put a script that detects when a player has a new gui in “PlayerGui”, and then try to detect if it is a gui made by roblox. I am not sure if notifications made by Roblox appears in PlayerGui, but this is the only idea I could come up with.

Notifications do not appear in PlayerGui, if I am correct they appear in Roblox’s core(I think they do at least). I tested this just to make sure and nothing appears in the PlayerGui.

Sorry about my last one, Didn’t know much about GetCore Either, however try using a pcall function