How to Make a System Message in Roblox Studio

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 27

  • @DeanJongerius-u7x
    @DeanJongerius-u7x หลายเดือนก่อน +4

    Tip: change how long it takes at the math.random(15, 25) which means in between 15 sec and 25 seconds a message will come.

  • @GIHCOINCREATOR
    @GIHCOINCREATOR หลายเดือนก่อน

    Omg thank u I will add this to my game

  • @NoobCoder196
    @NoobCoder196 3 หลายเดือนก่อน +8

    lol we have the same name

  • @deathdoesroblox
    @deathdoesroblox 3 หลายเดือนก่อน

    Great video thank you

  • @dumbkid4423
    @dumbkid4423 2 หลายเดือนก่อน

    this youtuber is so underated

  • @lem0nlem0n-w9o
    @lem0nlem0n-w9o 3 หลายเดือนก่อน +1

    awsome

  • @hypertd210
    @hypertd210 2 หลายเดือนก่อน

    It worked for me!

  • @user-srict991cartmb5
    @user-srict991cartmb5 3 หลายเดือนก่อน

    bro you are best youtuber in the world you are pro

  • @DeanJongerius-u7x
    @DeanJongerius-u7x หลายเดือนก่อน

    thank u

  • @SonarAstro
    @SonarAstro 3 หลายเดือนก่อน

    best i sub and like

  • @OGangYT
    @OGangYT 9 วันที่ผ่านมา

    Can i somehow like Change The Color?

  • @FlashPACK-tome
    @FlashPACK-tome 17 วันที่ผ่านมา

    How can i add colors to the text?

  • @Bluepotato960
    @Bluepotato960 2 หลายเดือนก่อน

    Is there a way to make the same text appear at the same time for all players ina server? Kinda like the hot air balloon in adopt me.

  • @officalcookiegod
    @officalcookiegod หลายเดือนก่อน +1

    wish i could copy and paste it >:(

    • @xDarkxCrashz
      @xDarkxCrashz 26 วันที่ผ่านมา

      You can it’s in pastebin in the description

  • @umavillalon6687
    @umavillalon6687 14 วันที่ผ่านมา +1

    it doesn't work for me

  • @Officiel_Stolki
    @Officiel_Stolki 3 หลายเดือนก่อน

    Thanks but?how can we do like after all the messages have appeared,they will appear again and again and like this?

    • @JustBebyLol
      @JustBebyLol 3 หลายเดือนก่อน

      use the while true do loip

  • @Profflint
    @Profflint 3 หลายเดือนก่อน

    That is really cool! Is it possible to add a color to the word "system" that it is maybe Orange or an other Color?

    • @Jackinbox19001
      @Jackinbox19001 3 หลายเดือนก่อน

      Yes its is, but it a bit more complex, first you need to format it in with hex colors, and if you dont wannna work with hex colors, you need to convert from color3 to hex and then use "string.format" and do some stuff, here is the code

    • @Jackinbox19001
      @Jackinbox19001 3 หลายเดือนก่อน

      local RemoteEvent = game.ReplicatedStorage.ServerRemoteEvents:WaitForChild("Show_server_chat_message")
      local function Show_server_chat_message(text, hexcode, prefix)

      local formattedMessage = string.format('%s%s', hexcode, tostring(prefix), tostring(text))
      game.TextChatService.TextChannels.RBXGeneral:DisplaySystemMessage(formattedMessage)
      end
      RemoteEvent.OnClientEvent:Connect(Show_server_chat_message)

    • @Jackinbox19001
      @Jackinbox19001 3 หลายเดือนก่อน

      and ofc the module for converting

    • @Jackinbox19001
      @Jackinbox19001 3 หลายเดือนก่อน

      -- ChatMessenger ModuleScript
      local ChatMessenger = {}
      local function Color3ToHex(color)
      local function componentToHex(component)
      local hex = string.format("%02X", math.floor(component * 255 + 0.5))
      return hex
      end
      local r, g, b = color.R, color.G, color.B
      local hex = "#" .. componentToHex(r) .. componentToHex(g) .. componentToHex(b)
      return hex
      end
      function ChatMessenger.DisplayMessage(message, textColor, prefix)
      local hexCode = Color3ToHex(textColor)
      local Configuredprefix
      if (prefix == "") then
      Configuredprefix = ""
      elseif prefix == nil then
      Configuredprefix = "[Facility]"
      else
      Configuredprefix = prefix
      end
      local prefix = "[Server]"
      local RemoteEvent = game.ReplicatedStorage.ServerRemoteEvents:FindFirstChild("Show_server_chat_message")
      if RemoteEvent then
      RemoteEvent:FireAllClients(message, hexCode, Configuredprefix)
      else
      warn("ServerRemoteEvent not found.")
      end
      end
      return ChatMessenger

  • @amusementchannel1
    @amusementchannel1 2 หลายเดือนก่อน +1

    how is it not working for me?🤣

  • @ElonLeMusk-xf4jy
    @ElonLeMusk-xf4jy 2 หลายเดือนก่อน

    would be nice to copy and paste the script -_-

  • @afterbigfail
    @afterbigfail 2 หลายเดือนก่อน

    NOT Working