How to make in-game chat messages appear 15 seconds after a player has joined the game?

Hello!

Basically I have a chat message system, but when you join the game the messages appear I want them to show up in chat 15 seconds after the player has joined. :thinking:

1 Like

You can disable the chat when player join.
Example:


ServerScript:

 game.Players.PlayerAdded:Connect(function(plr)
     game.replicatedStorage.RemoteEvent:FireClient(plr)
 end)

LocalScript

game.ReplicatedStorage.RemoteEvent.OnClientEvent(function()
  game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
    wait(15)
    game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
end)

Make sure to create a remote event named "Remote Event" in replicatedStorage tho.