HowToRoblox

SystemMessageCreator

Jul 7th, 2020
1,523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local systemMsgRE = game.ReplicatedStorage:WaitForChild("CreateSystemMessage")
  2.  
  3. systemMsgRE.OnClientEvent:Connect(function(systemMsg)
  4.    
  5.     game.StarterGui:SetCore("ChatMakeSystemMessage", {
  6.         Text = systemMsg,
  7.         Color = Color3.fromRGB(255, 115, 0),
  8.         Font = Enum.Font.SourceSansBold,
  9.         TextSize = 18,
  10.     })
  11. end)
Add Comment
Please, Sign In to add comment