
4.6k Views
150 Executions
Chat message Script for ur hub or script
Universal Script 📌
forsaken86878100K executions
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
chat
Updates
Script edited: Create script
local TextChatService = game:GetService("TextChatService")
local function SendChatMessage(message)
-- Check if the new TextChatService is being used
if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
-- Send message using the new TextChatService
local textChannel = TextChatService.TextChannels.RBXGeneral
textChannel:SendAsync(message)
else
-- Send message using the default chat system
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(message, "All")
end
end
SendChatMessage("Ur text here")









cool