Bubblechat works in studio, but not ingame?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?
    I want my NPC’s to talk, but it works perfectly fine in Studio, but does not work ingame.

  2. What is the issue? Include screenshots / videos if possible!
    Bubblechat does not work if ingame, but works in studio
    image
    image

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried switching from the service Chat > TextChatService and switched to client, but nothing works.

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TextChatService = game:GetService("TextChatService")

ReplicatedStorage.SendChat.OnClientEvent:Connect(function(object, message)
    TextChatService:DisplayBubble(object, message)
end)