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 » Game Design
Home Search
 

Re: I'm having an odd GUI-related problem

Previous Thread :: Next Thread 
robloxking240 is not online. robloxking240
Joined: 19 Aug 2010
Total Posts: 7049
18 Jan 2015 03:26 PM
Here's the ancestry:
StarterGui
-Game_GUI
-Menu
--Menu_script
--Character_editor
---Clothing
---Hair
---Skin
---Spawn
--Main_menu
---Start_game

Here's the start of the Menu_script, a local script:
local player = script.Parent.Parent.Parent
local game_gui = script.Parent.Parent.Game_GUI
local character = player.Character
local shared_info = game.Workspace.Shared_info

local main = script.Parent.Main_menu
local start = script.Parent.Main_menu.Start_game
local editor_c = script.Parent.Character_editor

print("MenuLoaded")

start.MouseButton1Down:connect(function()
main.Visible = false
editor_c.Visible = true
print(character)
end)


It works as intended on solo and did work before I disabled filtering, but on server mode, this error shows up:
21:19:55.210 - Character_editor is not a valid member of ScreenGui
21:19:55.210 - Script 'Players.Player1.PlayerGui.Menu.Menu_script', Line 8
21:19:55.210 - Stack End

When I add any type of wait() or use WaitForChild, the Start_game button does not work for a reason I do not know of. There is also absolutely nothing in the output log except the typical network/ connection messages. Does anyone know what may be causing this problem, or possibly how I can fix this?
Report Abuse
robloxking240 is not online. robloxking240
Joined: 19 Aug 2010
Total Posts: 7049
19 Jan 2015 11:22 AM
Bump.
Report Abuse
drgn42 is not online. drgn42
Joined: 11 Feb 2010
Total Posts: 3231
19 Jan 2015 11:29 AM
I don't know if this'd work, and it probably won't, but maybe you could try to put

local editor_c = script.Parent:FindFirstChild("Character_editor")

Sometimes that fixes my GUI problems.
Report Abuse
robloxking240 is not online. robloxking240
Joined: 19 Aug 2010
Total Posts: 7049
19 Jan 2015 11:33 AM
I've tried that, but that caused the script to not go past the line as well as not providing any output messages at all. This also happened when I used a wait(). Even if there was an ancestry problem, there would at least be a output error message on the wait() test.
Report Abuse
robloxking240 is not online. robloxking240
Joined: 19 Aug 2010
Total Posts: 7049
19 Jan 2015 01:52 PM
Bump.
Report Abuse
robloxking240 is not online. robloxking240
Joined: 19 Aug 2010
Total Posts: 7049
20 Jan 2015 03:09 PM
I still haven't been able to find what's causing the problem.
Report Abuse
IthacaMedia is not online. IthacaMedia
Joined: 25 Jan 2014
Total Posts: 1337
20 Jan 2015 04:40 PM
Did you make sure that the object is there? Try checking with Command bar/Dev Console if it's there or not. Whenever I have this issue, so far, the Command bar/Dev Console can't find it, meaning it's not there.

That would cause an error though if it's not there, I would think, but try it to make sure just in case.
Report Abuse
Sinblade is not online. Sinblade
Joined: 14 Aug 2010
Total Posts: 2782
20 Jan 2015 05:24 PM

Don't use the _

hi
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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