Hello,
I have a simple question, but i can’t seem to find the answer. Is there a way to make a chat bubble not dissapear until i tell it to dissapear, using ChatService or any other service?
Thanks in advance!
Hello,
I have a simple question, but i can’t seem to find the answer. Is there a way to make a chat bubble not dissapear until i tell it to dissapear, using ChatService or any other service?
Thanks in advance!
this might help
Bubble Chat (roblox.com)
local ChatService = game:GetService("Chat")
ChatService.BubbleChatEnabled = true
local bubbleChatSettings = {
BackgroundColor3 = Color3.fromRGB(180, 210, 220),
TextSize = 20,
Font = Enum.Font.FredokaOne,
BubbleDuration = 10
}
-- Apply the settings
ChatService:SetBubbleChatSettings(bubbleChatSettings)
(I didnt make this code)
Hm, but i assume this will apply for all players in game? I just want to make an NPC consistently have a text bubble above his head until the player interacts with the npc…
local ChatService = game:GetService("Chat")
ChatService.BubbleChatEnabled = true
local npc = workspace:FindFirstChild("SpiderGirl")
local adornee = npc:FindFirstChild("HumanoidRootPart")
local bubbleChatSettings = {
UserSpecificSettings = {
[adornee:GetFullName()] = {
CornerRadius = UDim.new(0, 6),
TailVisible = false,
TextSize = 25,
TextColor3 = Color3.new(1, 1, 1),
Font = Enum.Font.SpecialElite,
Padding = 12,
BubbleDuration = 8,
BubblesSpacing = 4,
BackgroundGradient = {
Enabled = true,
Rotation = 90,
Color = ColorSequence.new(Color3.fromRGB(175, 0, 0), Color3.fromRGB(175, 0, 0)),
Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0),
NumberSequenceKeypoint.new(1, 0.25)
})
}
}
}
-- Apply the settings
ChatService:SetBubbleChatSettings(bubbleChatSettings)
-- Display chat bubbles above the NPC adornee
ChatService:Chat(adornee, "Welcome to our island, traveler!")
wait(3.5)
ChatService:Chat(adornee, "I have potions and other magical items for sale")
wait(4.75)
ChatService:Chat(adornee, "I also have some fresh gibblyboks in the chest...")
wait(5.25)
ChatService:Chat(adornee, "Would you like to buy some?")
code made by roblox just read bottom of article I sent before