New Chat Feature, Image = "rbxassetid://" Not Showing Image

I want the Background Image to appear when I enter the Decal ID in the Script.

I can’t seem to get the Image Background to work.

When I enter a Decal ID into the Script, the Decal doesn’t appear.

I’ve tried Multiple Decals of Different Sizes and Shapes.

Code

ChatService.BubbleChatEnabled = true

local bubbleChatSettings = {
	CornerEnabled = false,
	TailVisible = true,
	TextSize = 24,
	TextColor3 = Color3.fromRGB(220, 50, 50),
	Font = Enum.Font.Jura,
	Padding = 30,
	BackgroundImage = {
		Image = "rbxassetid://6878382428",
		ScaleType = Enum.ScaleType.Slice,
		SliceCenter = Rect.new(40, 40, 360, 160),
		SliceScale = 0.5```

Make sure you differentiate between the asset id and the decal id
The asset id is shown on the website and will not work directly as a decals id

The only way to currently convert asset ids to decal ids is through pasting the id through pasting the asset id into property menu directly in studio. Roblox will then convert this asset id into a decal id usable in a script

1 Like

I’m not 100% sure on how to Convert it. You explained it fairly vague.

1 Like

Insert the asset id into any decal through the property menu in roblox studio and roblox will change it to a decal id

1 Like

In the simplest terms, create an ImageLabel anywhere, paste rbxassetid://6878382428 in the Image property of ImageLabel, then Roblox would convert it into a different link. Copy the link, then replace your current BackgroundImage.Image with the new link.

Don’t forget to delete the ImageLabel afterwards - you don’t want it hanging around without a purpose.

2 Likes