Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make a chat bubble go away?

Ok so I know how to create a chat bubble, but I don't know How to make it go away

ChatService = game:GetService("Chat")
local NPC = workspace.NPC
ChatService:Chat(NPC.Head."Hello World","Blue")
wait(2.5)
-- I want to make the chat bubble disappear

I've seen this done in games like Pizza Place, so I know it's possible, but on the Wiki, it only shows you how to create chat bubbles. Help is appreciated

2 comments

0

I'm pretty sure they disappear on their own, I don't see anything on the wiki about making the bubble disappear.

0

There's a BubbleChat ScreenGui in each player's PlayerGui. I don't know how the Bubbles are set up, but if you can figure out which bubble to delete, you'll just need to send the relevant information through a RemoteEvent so that a LocalScript can :Destroy() it.

1 answer

I'm a beginnner scripter so I won't be much of a help, but, you could try

wait(1) chat:Remove()

1 comment

0

wait() is deprecated. :Remove() is deprecated. EVERYTHINGS DEPRECATED

This discussion is preserved as it was. New answers, comments, and votes are closed.