Học
Lớp công cụ
TextChannelWindow

*Nội dung này được dịch bằng AI (Beta) và có thể có lỗi. Để xem trang này bằng tiếng Anh, hãy nhấp vào đây.


Tóm tắt

Thành viên kế thừa

Tài Liệu Tham Khảo API
Thuộc Tính
Target
Đọc Song Song
Các khả năng: UI, Chat
TextChannelWindow.Target:TextChannel

FontFace
Đọc Song Song
Các khả năng: UI, Chat
TextChannelWindow.FontFace:Font
Mẫu mã
Phông chữ Cửa sổ Kênh Văn bản Tùy chỉnh
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = Players.LocalPlayer:WaitForChild("PlayerGui")
local window = Instance.new("TextChannelWindow")
window.Size = UDim2.fromOffset(400, 300)
window.Target = TextChatService:WaitForChild("TextChannels"):WaitForChild("RBXGeneral")
-- FontFace chỉ áp dụng khi UseDefaultFont là false
window.UseDefaultFont = false
window.FontFace = Font.fromName("FredokaOne")
window.Parent = screenGui

UseDefaultFont
Đọc Song Song
Các khả năng: UI, Chat
TextChannelWindow.UseDefaultFont:boolean
Mẫu mã
Phông chữ Cửa sổ Kênh Văn bản Tùy chỉnh
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = Players.LocalPlayer:WaitForChild("PlayerGui")
local window = Instance.new("TextChannelWindow")
window.Size = UDim2.fromOffset(400, 300)
window.Target = TextChatService:WaitForChild("TextChannels"):WaitForChild("RBXGeneral")
-- FontFace chỉ áp dụng khi UseDefaultFont là false
window.UseDefaultFont = false
window.FontFace = Font.fromName("FredokaOne")
window.Parent = screenGui

©2026 Roblox Corporation. Roblox, logo Roblox và Powering Imagination là các nhãn hiệu đã đăng ký và chưa đăng ký của chúng tôi tại Hoa Kỳ và các quốc gia khác.