Notification Not Showing Icon

Hi All!

This is my first post on the Devforum so please do tell me if I’ve done something wrong. I want to send the player a notification but the icon doesnt seem to show. Below I have put the script that runs the notification, the rest of my script is just functions to display the notification.

image

Note that the gui variable is just the startergui

gui:SetCore("SendNotification", {
	Title = "Test";
	Text = "Test Notification";
	Icon = "rbxassetid://4913111798";
} )

Any help would be appreciated :slight_smile:

1 Like

The issue is that Icon should point to an image ID. What you have provided is a decal ID.

If you visit the asset that corresponds with the icon, https://www.roblox.com/library/4913111798/dior-cafe-thumbnail, you will see that it says “Decal” instead of “Image” in the “Type” field.

To fix this, you can either provide the image ID, 4913111793, or you can use rbxthumb instead.

Options:

  • Icon = "rbxassetid://4913111793"
  • Icon = "rbxthumb://type=Asset&id=4913111798&w=150&h=150"

Notice how each of the two options points to a different ID. The first option points to an image ID and the second option points to a decal ID (which is the same ID that you are currently using).

Useful information:

  • To find the image ID of a decal, you can paste the link to the decal into the Image property of an ImageLabel in Studio, and Studio will find the image ID for you.
  • For an rbxthumb content type, the possible sizes are 150x150 and 420x420 (see the link for more information).
4 Likes