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 :
How can i fix this?
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 :
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)
Ok Thanks For Help
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