Bubble chat height different for NPC and player

In my game, the bubble chats are different heights for the player and NPC.

Regularly, the bubble chat height for the NPC is normal, but for players is way too high, so I used this local script to lower it.

game:GetService("Chat"):SetBubbleChatSettings({
	VerticalStudsOffset = -5 --lower bubble chat by 5 studs
})

However, now the bubble chat is at the perfect height for players, but is on the floor for the NPC:
image

Anyone know how I can achieve to have the bubble chat for the NPC and players at the same height? Thanks!

1 Like

Are you using the Chat:Chat method to make NPCs chat?
https://developer.roblox.com/en-us/api-reference/function/Chat/Chat
If you are then instead of calling it on the NPC’s character model directly try calling it on its ‘Head’ limb.

local Game = game
local Chat = Game:GetService("Chat")
Chat:Chat(NPC.Head, "Hello world!")

The NPC uses a regular script

while true do
	wait(1)
	game:GetService("Chat"):Chat(script.Parent.Head, "text here", Enum.ChatColor.White)
	wait(10)
	game:GetService("Chat"):Chat(script.Parent.Head, "text here", Enum.ChatColor.White)
	wait(15)
	game:GetService("Chat"):Chat(script.Parent.Head, "text here", Enum.ChatColor.White)
	wait(8)
end

Although slightly ‘hacky’ you could instead use an invisible part raised above the NPC to cast the bubble chat.