Universal Script 📌
4.6k Views
170 Executions

Chat message Script for ur hub or script

Universal Script 📌
forsaken86878
forsaken86878100K executions
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

chat

Updates

  1. Script edited: Create script

View Raw
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")


Comments

1
Log in to join the conversation. Login
ilas19kiia's profile picture
ilas19kiia2 years ago(edited)

cool

1

More universal scripts

See all
Universal Script 📌
7.6k
363.4k
Bumped 19 minutes ago
Universal Script 📌
6.9k
13.3k
Bumped 1 hour ago
Universal Script 📌
125.9k
929.6k
Bumped 2 hours ago
Script hub
200.9k
2.3M
Bumped 5 hours ago
Key System

Script hub

#21 this week

Verified script badgeAirflow HUB

Script hub
3.7M
907.6k
Bumped 7 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeFlow Hub | 73 Games | Updated

Universal Script 📌
188
226
Approved 8 hours ago
Universal Script 📌
59
32
Approved 8 hours ago
Paid