【问题标题】:How to make a message in chat so when the owner joins it messages the server?如何在聊天中发送消息,以便所有者加入时向服务器发送消息?
【发布时间】:2021-12-28 17:43:18
【问题描述】:

我不知道如何在所有者加入服务器时显示消息我尝试搜索所有内容但找不到答案或脚本。

【问题讨论】:

  • 也许可以查看Lua Chat System 的文档。这可能是一个很好的起点。
  • 好的,我试试,谢谢
  • 我试过了,但我觉得不行

标签: chat roblox


【解决方案1】:

您可以使用此代码将消息发布到聊天中。将文本替换为您要显示的消息,然后使用RemoteEvent 使其在所有者加入时在所有客户端上运行。

local StarterGui = game:GetService("StarterGui")
StarterGui:SetCore("ChatMakeSystemMessage", {
    Text = "The owner has joined";
    Color = Color3.fromRGB(255, 255, 255);
    Font = Enum.Font.SourceSansBold;
    TextSize = 18
})

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-07-23
    • 1970-01-01
    • 2020-11-25
    • 1970-01-01
    • 2021-04-14
    • 2014-11-29
    • 2017-09-27
    • 2021-03-19
    相关资源
    最近更新 更多