Any way to clear NPC bubble chat?

I can’t seem to find this in the API docs, is there a way to clear an NPC’s bubble chat?

I’m using NPCs to teach stuff, and it is quite confusing to have the last instruction show up alongside new instructions.

You could make a custom chat system using Billboard GUIs and then destroy those new Billboard GUIs.

You could use something like this.

--Declarations

local BILLBOARD_GUI = Instance.new("BillboardGui")
local TEXT = Instance.new("TextLabel")

BILLBOARD_GUI.Parent = --Insert NPC head location here
TEXT.Parent = BILLBOARD_GUI

TEXT.Text = "Whatever"

wait(--[[Certain amount of time here--]])
BILLBOARD_GUI:Destroy()

Also, this should probably be in #help-and-feedback:scripting-support .

1 Like

ah yeah…probably easier for me to roll my own. Thanks for the suggestion.
Also moved the thread to scripting support