To add an outline to chat bubbles in Roblox, you can use the UICorner and ImageLabel objects to customize the appearance of the bubble. Here’s an example of how you can add an outline to chat bubbles:
-- Assuming you have a reference to the BubbleChatConfiguration object
local BubbleChatConfiguration = -- reference to the BubbleChatConfiguration object
-- Set the TailVisible property to false to remove the chat bubble's tail
BubbleChatConfiguration.TailVisible = false
-- Set the TextSize, TextColor3, and FontFace properties to customize the text appearance
BubbleChatConfiguration.TextSize = 24
BubbleChatConfiguration.TextColor3 = Color3.fromRGB(220, 50, 50)
BubbleChatConfiguration.FontFace = Enum.Font.LuckiestGuy
-- Find or create a UICorner object within the BubbleChatConfiguration
local UICorner = BubbleChatConfiguration:FindFirstChildOfClass("UICorner")
if not UICorner then
UICorner = Instance.new("UICorner")
UICorner.Parent = BubbleChatConfiguration
end
-- Set the CornerRadius property of the UICorner to create rounded corners for the chat bubble
UICorner.CornerRadius = UDim.new(0, 0)
-- Create or modify an ImageLabel within the BubbleChatConfiguration to add an outline
local ImageLabel = BubbleChatConfiguration:FindFirstChildOfClass("ImageLabel")
if not ImageLabel then
ImageLabel = Instance.new("ImageLabel")
ImageLabel.Parent = BubbleChatConfiguration
end
-- Set the properties of the ImageLabel to customize the outline appearance
ImageLabel.Image = "rbxassetid://6733332557"
ImageLabel.ScaleType = Enum.ScaleType.Slice
ImageLabel.SliceCenter = Rect.new(40, 40, 360, 160)
ImageLabel.SliceScale = 0.5
In the code snippet above, replace BubbleChatConfiguration with the actual reference to the BubbleChatConfiguration object. This code sets the TailVisible property to false to remove the chat bubble’s tail, and then customizes the text appearance using the TextSize, TextColor3, and FontFace properties.
The code also finds or creates a UICorner object within the BubbleChatConfiguration and sets the CornerRadius property to create rounded corners for the chat bubble. Additionally, it finds or creates an ImageLabel object within the BubbleChatConfiguration and sets the properties to add an outline to the chat bubble.
Remember to adjust the code according to your specific use case and object hierarchy. You can experiment with different values for the ImageLabel properties to achieve the desired outline appearance.
(In the AI’s defense, if you told anybody “shader” they wouldn’t know what you are talking about, You will have to be more specific with your request. You can google “Keyboard” and it might give you the musical instrument instead of the thing you type with. However, if you say “Computer keyboard” It will give you what you are looking for. What type of “shader” do you need?
I sent merely what you asked for, but you did not specify what type~. (try to be more specific!)
and there are shaders in Roblox- much like Minecraft, they are client-side only.
If you are looking for shaders to add to your game that change the style, you are right, there are none that do that. The AI is far from perfect, I use it to answer basic questions, If it cannot, I have this dev forum. There’s a reason it says “Check for accuracy” at the bottom. I however still find it quite useful, It’s easier for me to ask the AI for a specific page of the docs than to use the search bar. But~ To each their own~