Is their a way to stop chat boxes from clipping through parts?

I made a chat command for one of my NPCs in a store, but the chat keeps clipping through walls, Is there a value to possibly disable that?

umm, I’m amusing this is a BillboardGui

https://developer.roblox.com/en-us/api-reference/property/BillboardGui/AlwaysOnTop

Click AlwaysOnTop to disable it.

1 Like

How would I exactly do that with this?

game:GetService("Chat"):Chat(script.Parent.Head, "Why are their babies in my store...", Enum.ChatColor.Blue)

I mean the Roblox chat service, not gui.

I believe the billboard guis for bubble chats are inside code gui, so they can’t be modified as far as I’m aware.

(If you really want to you can fork the lua chat system and change the BubbleChat LocalScript’s code.)

Actually there’s three things that you can do.

  1. Move the NPC away from walls
  2. Add wall transparency
  3. Use UI instead of ChatBubble