It printed "It worked" but It doesn't pop up.Its supposed to pop up in the Chat. I put it in StarterPlayerScripts. Is there something wrong?
bc = BrickColor.new("Really red") local Players = game:GetService("Players") function onPlayerAdded(player) game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", { Text = "[System]Hello!"; Color = bc.Color; Font = Enum.Font.Cartoon; FontSize = Enum.FontSize.Size96; }) end print("It worked")
You never call the onPlayerAdded function in your code. Make a LocalScript with the following code and it will call the function when the player joins:
local bc = BrickColor.new("Really red") local Players = game:GetService("Players") function onPlayerAdded(player) game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", { Text = "[System]Hello!"; Color = bc.Color; Font = Enum.Font.Cartoon; FontSize = Enum.FontSize.Size96; }) end onPlayerAdded(game.Players.LocalPlayer) print("It worked")
Let me know if you have any issues or questions in the comments below.