Engine Class
TextChannelWindow
Summary
Properties
API Reference
Properties
FontFace
Code Samples
Custom TextChannelWindow Font
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 applies only while UseDefaultFont is false
window.UseDefaultFont = false
window.FontFace = Font.fromName("FredokaOne")
window.Parent = screenGuiUseDefaultFont
Code Samples
Custom TextChannelWindow Font
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 applies only while UseDefaultFont is false
window.UseDefaultFont = false
window.FontFace = Font.fromName("FredokaOne")
window.Parent = screenGui