HI
i have a problem with all chat script in my game like joining and leaving text owner adming tags.
in other game this is work but idk why in my game all script in the chat categorie dont work.
THX For Help!!
HI
i have a problem with all chat script in my game like joining and leaving text owner adming tags.
in other game this is work but idk why in my game all script in the chat categorie dont work.
THX For Help!!
can’t help you without seeing the script
what are the errors in the output?
give me a few seconds i will try this in a baseplate
idk why it work on a other game i mad for practice
and the owner admin tags dont work
server scripts arent meant to be in startergui, (change the script to a localscript)
let me know if this helps please
let me look over it one more time and see if i can change anything
it work for you ? gerjmgrjegrjrejg
I am fixing it, give me a minute
I found a fix let me send the script
I found a fix im sending the script
Go to “TextChatService” and make sure that “ChatVersion” is LegacyChatService.
delete the old script (the one in startergui)
and put this in
local events = game.ReplicatedStorage.Events
local startGui = game.StarterGui
events.Joining.OnClientEvent:Connect(function(plr)
game.StarterGui:SetCore("ChatMakeSystemMessage", {
["Text"] = plr.Name.." Has joined the game",
["Color"] = Color3.fromRGB(0, 255, 0),
["Font"] = Enum.Font.SourceSansBold,
})
end)
events.Leaving.OnClientEvent:Connect(function(plr)
game.StarterGui:SetCore("ChatMakeSystemMessage", {
["Text"] = plr.Name.." Has left the game",
["Color"] = Color3.fromRGB(255, 0, 0),
["Font"] = Enum.Font.SourceSansBold,
})
end)
(let me know if it helps)
where i need to put the script
Startergui, And make sure it is a LocalScript