generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Everyone knows about SetCore now right?

Previous Thread :: Next Thread 
NotAshley is not online. 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 is not online. 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 is not online. 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 is not online. lupine
Joined: 24 Jun 2008
Total Posts: 3561
14 Sep 2015 03:38 PM
That's actually awesome. Thanks :]
Report Abuse
louiskk is not online. louiskk
Joined: 31 Dec 2008
Total Posts: 228
14 Sep 2015 03:38 PM
Thanks, that'll come in handy.
Report Abuse
OrangeKitten is not online. OrangeKitten
Joined: 12 Jul 2007
Total Posts: 383
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 is not online. 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 is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
14 Sep 2015 03:45 PM
sweet, i'll be tracking this thread!
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
14 Sep 2015 03:46 PM
URMAGHERD SCRIPTING!!!!!!!

I MIGHT ACTUALLY NEED THAT! HELLO wiki.roblox.com
Report Abuse
prepareds is not online. 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 is not online. 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 is not online. 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 is not online. 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
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
14 Sep 2015 07:03 PM
Nice job posting information that can already be found on the Wiki.
Report Abuse
NotAshley is not online. 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
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
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 is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
15 Sep 2015 01:45 AM
bump
Report Abuse
cntkillme is not online. 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
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
15 Sep 2015 02:02 AM
This is gonna be some fun! :D
(Incoming pranking/trolling some of my friends).
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
15 Sep 2015 02:20 AM
Uhm

"SetCore: SendNotification has not been registered by the CoreScripts"
Report Abuse
NotAshley is not online. 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
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
15 Sep 2015 02:23 AM
No, this happens in online mode.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
15 Sep 2015 02:27 AM
You're doing it from a local script?
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
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 is not online. Codys4x4
Joined: 14 Oct 2006
Total Posts: 2312
15 Sep 2015 02:34 AM
I get it also.


-Codys4x4
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image