#Change Font For NPC

1 messages · Page 1 of 1 (latest)

narrow oyster
#

how do i make this script change the npcs font and chat colour when they talk

local ChatService = game:GetService("Chat")
local Players = game:GetService("Players")
local NPC = script.Parent
local Head = NPC:FindFirstChild("Head")
local TouchPart = game.Workspace:FindFirstChild("TouchPart")
local UndergroundDoor = game.Workspace.Facility.Underground["Underground Entrance"].UndergroundDoor
local UndergroundDoorOpened = game.Workspace.Facility.Underground["Underground Entrance"].UndergroundDoor2

if Head and TouchPart then
    TouchPart.Touched:Connect(function(hit)
        local character = hit:FindFirstAncestorOfClass("Model")
        local player = character and Players:GetPlayerFromCharacter(character)

        if player then
            ChatService:Chat(Head, "Welcome into the Underground.")
script.Disabled = true

        end
    end)
else
    warn("Head or TouchPart not found!")
end
languid jewel
#

I believe you can change the chat color using Enum, lua Enum.ChatColor.Red

weak lake
#

I dont think changing fonts on chat bubbles is possible. But its possible with a custom one.

weak lake
languid jewel
timber islandBOT
#

studio** You are now Level 2! **studio

weak lake
languid jewel
weak lake
#

yes exactly