Hello ,
I am trying to make my game to display a welcome message in the game chat with this code:
local Event = game:GetService("ReplicatedStorage"):WaitForChild("PlayerJoined")
local PlayerService = game:GetService("Players")
Event.OnClientEvent:Connect(function(plr, CountryName)
print("Test")
game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = "Welcome Bot: Hello " .. plr.DisplayName,
Color = Color3.new(0, 1, 0.498039),
Font = Enum.Font.SciFi,
TextSize = 18,
})
end)
However when it runs it prints βTestβ with no errors, but then nothing in chat.
Any help is appreciated!