game.Players.PlayerAdded:Connect(function(player)
if player.Name == script.OwnersUsername.Value then
local tags = {
{
TagText = "Owner", -- Tag
TagColor = Color3.fromRGB(0, 26, 194) -- VIP Color
}
}
local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner").ChatService)
local speaker = nil
while speaker == nil do
speaker = ChatService:GetSpeaker(player.Name)
if speaker ~= nil then break end
wait(0.01)
end
speaker:SetExtraData("Tags",tags)
speaker:SetExtraData("ChatColor",Color3.fromRGB(255, 0, 0)) -- Text Color
end
end) ```
#help
1 messages · Page 1 of 1 (latest)
i have no scripting idea can u help me solve it
no errors
i checked output
of script
m
on it
tysm
ok first
yes?
i put an script there too it seems to delete it
huh
I recommend splitting everything into variables.
Insted of:
local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner").ChatService)
or
game.Players.PlayerAdded
do
local ServerScriptStorage = game:GetService("ServerScriptService")
local ChatService = require(ServerScriptStorage:WaitForChild("ChatServiceRunner").ChatService)
idk wym i got no scripting iea
Keeps everyting easy to read
It just puts it into variables, so people and you can read it easly and you can use it aguin without calling it multiple times
i want you to figure it out
i dont study
so you understand
If you don't understand the basics... learn the basics.
fine
local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner").ChatService)
local speaker = nil
while speaker == nil do
speaker = ChatService:GetSpeaker(player.Name)
if speaker ~= nil then break end
wait(0.01)
end
This is your error
This is basic logic
ChatServiceRunner is not being maintained anymore, use this: https://create.roblox.com/docs/reference/engine/classes/TextChatService
This should give you EVRYTHING you need to know
Accualy this
Sends and event when a player chats
here
local ChatServiceRunner = game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner")
local ChatService = require(ChatServiceRunner:WaitForChild("ChatService"))
local OwnersUsername = script:WaitForChild("OwnersUsername")
game.Players.PlayerAdded:Connect(function(player)
if player.Name == OwnersUsername.Value then
local tags = {
{
TagText = "Owner",
TagColor = Color3.fromRGB(0, 26, 194)
}
}
local function waitForSpeaker()
local speaker = ChatService:GetSpeaker(player.Name)
while not speaker do
task.wait(0.05)
speaker = ChatService:GetSpeaker(player.Name)
end
return speaker
end
@celest raft
this one doesnt work too
im giving up bro
nnoying
local function waitForSpeaker()
local speaker = ChatService:GetSpeaker(player.Name)
while not speaker do
task.wait(0.05)
speaker = ChatService:GetSpeaker(player.Name)
end
return speaker
end
This
don't use this
brooooooooo
what aam i supposed to use
cn u just write the script
😭
THIS
local ChatServiceRunner = game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner")
local ChatService = require(ChatServiceRunner:WaitForChild("ChatService"))
local OwnersUsername = script:WaitForChild("OwnersUsername")
local ownerName = OwnersUsername.Value
game.Players.PlayerAdded:Connect(function(player)
ChatService.SpeakerAdded:Connect(function(speakerName)
if speakerName == player.Name and player.Name == ownerName then
local speaker = ChatService:GetSpeaker(speakerName)
if speaker then
speaker:SetExtraData("Tags", {
{
TagText = "Owner",
TagColor = Color3.fromRGB(0, 26, 194)
}
})
speaker:SetExtraData("ChatColor", Color3.fromRGB(255, 0, 0))
end
end
end)
end)```
OwnersUsername.Chatted:Connect(function()
end)
When the owner chats
Its that simple
o
No
bro
why make this so hard
just send me the script
i have no intention to learn scripting
legit couldve done this by now
If you don't wanna learn use chat gpt
Scripting help is place for people to learn
And get help

You gotta use TextChatService, and it has to be a Local Script
Thanks.
Thats what I've been telling you (minus the local script)
broooo
u couldve just said
Use textchatservice

I PINGED A POOR RADON GUY
Then you will stay bad forever
There is also no reason to fix your script if you don’t learn anything from your errors
Good luck
It’s never too late to learn
i already have a job
i dont plan to learn scripting
ur not making sense
i only learn modeling and animating/vfx
Not too late to give up too
Skill issue
Got reasons
This ain’t making any sense either
Ur life isnt making sense either
My life is making sense
Sure buddy
I have job and i dont give up on it
