I have a script were it makes a NPC chat. But the chat bubble gets overlapped by a wall. Is it possible to make a chat bubble overlap parts?
Note: I'm using game:GetService("Chat"):Chat()
local z = script.Parent.Zombie
local c = game.ServerScriptService.ChatScript
local num = 0
function Chat(chat)
c.Chat.Character.Value = script.Parent.Name
c.Chat.Value = chat
game:GetService("Chat"):Chat(script.Parent.Head, chat, Enum.ChatColor.Red)
print("Chatted")
end
z.Changed:connect(function()
if z.Health < z.MaxHealth and num == 0 then
Chat("YOU SHALL NOT PASS")
num = 1
elseif z.Health <70000 and num == 1 then
Chat("You fool, once you get in, you won't exist anymore!")
num = 2
elseif z.Health <30000 and num == 2 then
Chat("The Overseer has already overseen your foolish presence! LEAVE NOW!")
num = 3
elseif z.Health <5000 and num == 3 then
Chat("You will regret later...")
num = 4
end
end)

1 comment
Could we see the script