Kalgard
|
  |
| Joined: 11 Nov 2011 |
| Total Posts: 308 |
|
|
| 10 Sep 2015 10:35 PM |
local StarterGui = game:GetService("StarterGui") -- Make sure this LOCAL SCRIPT is in StarterGui!
------- MOTD/CHAT SETTINGS ------- lineSettings = { [1] = "Welcome to Mike's Game Place!", --Line 1 [2] = "[: =========================== :]", --Line 2 [3] = "Rules: No Memes! ", --Line 3 [4] = "Description: JOHNCENA!!! ", --Line 4 [5] = "Updates: Removed memes ", --Line 5 [6] = "MOTD: Have fun! ", --Line 6 [7] = " ", --Line 7 [8] = "[: =========================== :]"; --Line 8 };
motdColor = Color3.new(0,1,1); --Replace ONLY (0, 1, 1) with decimal number(s) between 0-1. -- (R,G,B): (255, 255, 255) is White so make this (1, 1 ,1) to get White.
motdFont = Enum.Font.SourceSansItalic; --Replace "SourceSansItalic" with one below. -- Fonts: Arial, ArialBold, Legacy, SourceSans, SourceSansBold, SourceSansItalic, SourceSansLight.
motdFontSize = Enum.FontSize.Size18; --Replace "Size18" with "Size#". # being one of the numbers below. -- Sizes: 8, 9, 10, 11, 12, 14, 18, 24, 28, 32, 36, 42, 48...and more... ----------------------------------
-- for i, line in ipairs(lineSettings) do StarterGui:SetCore("ChatMakeSystemMessage",{ Text = line; Color = motdColor; Font = motdFont; FontSize = motdFontSize; }) end
|
|
|
| Report Abuse |
|
|
|
| 10 Sep 2015 10:37 PM |
| lol you seem happy that I mentioned SetCore |
|
|
| Report Abuse |
|
|
Kalgard
|
  |
| Joined: 11 Nov 2011 |
| Total Posts: 308 |
|
|
| 10 Sep 2015 10:42 PM |
| Yes, well unfortunately it only does chat and can only disable notifications |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Sep 2015 10:43 PM |
| That's for now though. It's very new and I'm expecting to see a lot come out of it in the future <3 |
|
|
| Report Abuse |
|
|
Kalgard
|
  |
| Joined: 11 Nov 2011 |
| Total Posts: 308 |
|
|
| 10 Sep 2015 10:51 PM |
wait(2) local StarterGui = game:GetService("StarterGui") _G.chatNotification = function(msg) StarterGui:SetCore("ChatMakeSystemMessage",{Text = "[SYSTEM]: " .. tostring(msg);}) end
anybody have any idea why that says "SetCore: ChatMakeSystemMessage has not been registered by the corescripts"
tried to call it via _G.chatNotification('bye') |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2015 11:14 PM |
| I get the same error when i try to run it in studio, however works fine online. |
|
|
| Report Abuse |
|
|
Kalgard
|
  |
| Joined: 11 Nov 2011 |
| Total Posts: 308 |
|
|
| 10 Sep 2015 11:16 PM |
| Might be cause Im trying to use _G for it.. qq |
|
|
| Report Abuse |
|
|
|
| 12 Sep 2015 11:10 AM |
@Kal no, I got the same error using the exact same thing on the wiki
In case you don't know, WebGL3D Trolled us ROBLOX+ members with a false notification saying that an expensive hat went free on 9/6/2015. |
|
|
| Report Abuse |
|
|
AnthonyJF
|
  |
| Joined: 28 Jan 2010 |
| Total Posts: 19 |
|
|
| 27 Jun 2016 03:40 AM |
| I recently found this but was having many errors with it, so I decided to google the error and found this post. I ended up making an admin chat (colored chat for admins). It took me hours to fix the errors but I finally managed it to work. |
|
|
| Report Abuse |
|
|
AnthonyJF
|
  |
| Joined: 28 Jan 2010 |
| Total Posts: 19 |
|
|
| 27 Jun 2016 03:41 AM |
| The funny thing is that swear words and blacklisted words are not censored using this method. |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2016 09:18 AM |
| @Anthony That's why you filter user input with the chat service. |
|
|
| Report Abuse |
|
|
ItsOmega
|
  |
| Joined: 05 Oct 2014 |
| Total Posts: 196 |
|
|
| 27 Jun 2016 09:43 AM |
Thats not even efficient. For that to work you would have to run a local script to them.
|
|
|
| Report Abuse |
|
|
|
| 27 Jun 2016 09:48 AM |
| ... Just realized this is a necrobump. |
|
|
| Report Abuse |
|
|