Trying to make it so that it'll create a system message prompt in the chat when someone joins the game, but it isn't working. I'm doing this through a local script.
game:GetService("Players").PlayerAdded:Connect(function(Player) --Event for when a player joins
game.StarterGui:SetCore("ChatMakeSystemMessage", { --SetCore thingy
Text = Player.Name.." joined the game."; --Changes text
Font = Enum.Font.SourceSansSemibold; --Changes font
Color = Color3.fromRGB(255,255,255); --Changes color
FontSize = Enum.FontSize.Size96; --Changes fontsize
})
end)
