NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 14 Sep 2015 03:33 PM |
If not, here :D
This will all only work in a LocalScript. This is the best thing ever. The Wiki says some of these things don't work yet, but I haven't tried all of them.
-- create a custom message in the chat window local msg = { Text = "This is the text of your custom message"; Color = Color3.new(0,1,1); -- custom message color Font = "SourceSans"; -- custom message font FontSize = "Size24"; -- custom message size } game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", msg)
-- send a custom notification to the player local notify = { Title = "Notification Title"; Text = "This is a test notification" Image = "" -- an optional ROBLOX decal image Duration = 5; -- the visibility duration of the notification } game:GetService("StarterGui"):SetCore("SendNotification", notify)
-- mute the player by removing their bottom chat bar GUI game:GetService("StarterGui"):SetCore("ChatBarDisabled")
-- change the size of the chat window game:GetService("StarterGui"):SetCore("ChatWindowSize", UDim2.new(.3,0,.3,0))
-- change the position of the chat window game:GetService("StarterGui"):SetCore("ChatWindowPosition", UDim2.new(.5,0,.5,0))
-- disable notifications for playerpoints game:GetService("StarterGui"):SetCore("PointsNotificationsActive", false)
-- disable notifications for badges game:GetService("StarterGui"):SetCore("BadgesNotificationsActive", false) |
|
|
| Report Abuse |
|
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 14 Sep 2015 03:34 PM |
I made an error, ChatBarDisabled should look like this:
game:GetService("StarterGui"):SetCore("ChatBarDisabled", true) |
|
|
| Report Abuse |
|
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 14 Sep 2015 03:36 PM |
| Idea for admin commands: when the player types "/help," create more chat output. Use the chat to display info about commands the player types. |
|
|
| Report Abuse |
|
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 14 Sep 2015 03:38 PM |
| That's actually awesome. Thanks :] |
|
|
| Report Abuse |
|
|
louiskk
|
  |
| Joined: 31 Dec 2008 |
| Total Posts: 228 |
|
|
| 14 Sep 2015 03:38 PM |
| Thanks, that'll come in handy. |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2015 03:40 PM |
| Now we can create our own chat bar if used right, make our own chat bar cmds, n stuff |
|
|
| Report Abuse |
|
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 14 Sep 2015 03:45 PM |
| ty and yess I'm excited too c: |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 14 Sep 2015 03:45 PM |
| sweet, i'll be tracking this thread! |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2015 03:46 PM |
URMAGHERD SCRIPTING!!!!!!!
I MIGHT ACTUALLY NEED THAT! HELLO wiki.roblox.com |
|
|
| Report Abuse |
|
|
prepareds
|
  |
| Joined: 07 Sep 2015 |
| Total Posts: 182 |
|
|
| 14 Sep 2015 03:59 PM |
Knew about it, but this is a better explanation than the wiki, and the other thread I found.
Nice job. Tracked. |
|
|
| Report Abuse |
|
|
McGunz
|
  |
| Joined: 26 Dec 2011 |
| Total Posts: 759 |
|
|
| 14 Sep 2015 06:25 PM |
game:GetService("StarterGui"):SetCore("ChatBarDisabled", true)
srry just had to see the new text
a noob will be a noob and will always be a noob |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 14 Sep 2015 06:27 PM |
Ill use this
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$245 Tx2,150 |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 14 Sep 2015 06:41 PM |
"Now we can create our own chat bar if used right, make our own chat bar cmds, n stuff"
ya we could already do this
FilteringDisabled is for squares |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2015 07:03 PM |
| Nice job posting information that can already be found on the Wiki. |
|
|
| Report Abuse |
|
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 14 Sep 2015 07:04 PM |
"Nice job posting information that can already be found on the Wiki."
Well thank you but this is a recent addition that barely anybody knows about, and I explained things the Wiki page doesn't cover yet. I'm just trying to be nice. That's why it says "if not" at the start. |
|
|
| Report Abuse |
|
|
|
| 14 Sep 2015 07:05 PM |
"Nice job posting information that can already be found on the Wiki."
Go spam threads if you care this much. Go find the 50% of threads that actually have legit answers, and say that there. |
|
|
| Report Abuse |
|
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 15 Sep 2015 01:55 AM |
In case nobody posted the wiki link: http://wiki.roblox.com/index.php?title=API:Class/StarterGui/SetCore
I'm sure they're going to add more stuff eventually which would be cool. |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2015 02:02 AM |
This is gonna be some fun! :D (Incoming pranking/trolling some of my friends). |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2015 02:20 AM |
Uhm
"SetCore: SendNotification has not been registered by the CoreScripts" |
|
|
| Report Abuse |
|
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 15 Sep 2015 02:21 AM |
| @LongKill test in online mode, not all core GUI loads solo |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2015 02:23 AM |
| No, this happens in online mode. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 15 Sep 2015 02:27 AM |
| You're doing it from a local script? |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2015 02:28 AM |
Yeah function notiftyClient(title, message, duration) game:GetService("StarterGui"):SetCore("SendNotification", { Title = title; Text = message; Image = ""; Duration = duration; }) end |
|
|
| Report Abuse |
|
|
Codys4x4
|
  |
| Joined: 14 Oct 2006 |
| Total Posts: 2312 |
|
| |
|