rvsita
(rosie)
1
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:

Anyone know how I can achieve to have the bubble chat for the NPC and players at the same height? Thanks!
1 Like
Forummer
(Forummer)
2
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!")
rvsita
(rosie)
3
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
Forummer
(Forummer)
4
Although slightly ‘hacky’ you could instead use an invisible part raised above the NPC to cast the bubble chat.