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 » Scripting Helpers
Home Search
 

Re: Menu Button? (CoreGui)

Previous Thread :: Next Thread 
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
18 Jul 2014 10:21 PM
I'm trying to print the x/y's of the size and position in the menu button CoreGui.

I'm trying to figure out where the menu button is in CoreGui, so I tried this:

for i,v in pairs(game.CoreGui.RobloxGui:GetChildren()) do print(v.Name) end

And I got all of these;

ControlFrame
PlayerName
CoreScripts/ToolTip
CoreScripts/Settings
CoreScripts/MainBotChatScript
CoreScripts/DeveloperConsole
CoreScripts/NotificationScript
CoreScripts/ChatScript
CoreScripts/PurchasePromptScript
CoreScripts/HealthScript
CoreScripts/PlayerListScript
Popup
PlayerListScreen
CurrentLoadout
Backpack
ChatFrame
AreaSoak
AreaSoak
AreaSoak
AreaSoak

Is the menu button in here, or am I totally off?
Report Abuse
BestDeveloper is not online. BestDeveloper
Joined: 30 Dec 2011
Total Posts: 414
18 Jul 2014 10:24 PM
What do you need it for?
Report Abuse
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
18 Jul 2014 10:28 PM
I want to replicate it, but in a square instead, and use it for a different reason. EG: Spectate, shop.
Report Abuse
BestDeveloper is not online. BestDeveloper
Joined: 30 Dec 2011
Total Posts: 414
18 Jul 2014 10:34 PM
just make a new square
Report Abuse
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
18 Jul 2014 10:43 PM
I don't just want to guess, I want to make it like the menu button.
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
18 Jul 2014 10:59 PM
Well, it's not in RobloxGui. Run this in the command bar and see what I mean:

local function recursive(obj) for _, child in pairs(obj:GetChildren()) do if child:IsA("GuiObject") then local t = Instance.new("TextLabel", game.StarterGui.ScreenGui) t.Name = child.Name t.Text = child.Name t.Size = child.Size t.Position = child.Position t.Transparency = 0.6 t.TextColor3 = Color3.new() end recursive(child) end end recursive(game:GetService("CoreGui").RobloxGui)
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
18 Jul 2014 11:17 PM
try to take a screen shot and measure the pixels of it
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
18 Jul 2014 11:25 PM
That's a decent idea lol
Just did it and the bounds of the image (maybe not the actual button) are 54x46
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
18 Jul 2014 11:26 PM
I got 52 x 44
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
18 Jul 2014 11:28 PM
You acttually counted it pixel by pixel...? FREAKY!
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
18 Jul 2014 11:30 PM
Uh
paint.net did it for me, but I'm pretty sure you could do this with MS paint lol
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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