of     1   

litalela
#168927215Monday, July 27, 2015 12:27 AM GMT

Hey, so this script is a localscript inside of a textbutton inside of a screengui. There is another screengui called characterselect, which I want to switch to when I hit the textbutton. script.Parent.Parent.Parent:WaitForChild("CreateCharacter") script.Parent.MouseButton1Down:connect(function() for a, f in pairs(script.Parent.Parent:GetChildren()) do f.Visible = false end for i, v in pairs(script.Parent.Parent.Parent.CharacterSelect:GetChildren()) do v.Visible = true end end) However, the script doesn't work at all. Any ideas why?
litalela
#168927900Monday, July 27, 2015 12:35 AM GMT

Please fam <3
litalela
#168928430Monday, July 27, 2015 12:40 AM GMT

Anyone?
litalela
#168929174Monday, July 27, 2015 12:50 AM GMT

Someone has to know about this e.e I beg
Deus_Nihil
#168929845Monday, July 27, 2015 12:58 AM GMT

open up the output and put the red/orange text here. then we can actually tell.
litalela
#168929976Monday, July 27, 2015 1:00 AM GMT

There are no error codes
Deus_Nihil
#168930114Monday, July 27, 2015 1:01 AM GMT

Is the script disabled?
litalela
#168930244Monday, July 27, 2015 1:03 AM GMT

No
Accedo
#168930391Monday, July 27, 2015 1:05 AM GMT

Cause it has no Children!! OOOHOOHOHOHO BURN!!! (Sorry I can't help, dunno .3. ) Abraham Lincoln's most famous quote: "You know everything on the internet is true."
baldo46
#168930648Monday, July 27, 2015 1:08 AM GMT

See my comment. sp = script.Parent; gui = sp.Parent; plrgui = gui.Parent; other = plrgui:WaitForChild("characterselect"); --plrgui:WaitForChild("CreateCharacter") --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --This says "CreateCharacter" not "characterselect" sp.MouseButton1Down:connect(function() for a, f in pairs(gui:GetChildren()) do f.Visible = false end for i, v in pairs(other:GetChildren()) do v.Visible = true end end)
Accedo
#168930762Monday, July 27, 2015 1:09 AM GMT

^ get rekt Abraham Lincoln's most famous quote: "You know everything on the internet is true."
litalela
#168931185Monday, July 27, 2015 1:13 AM GMT

Thanks, that worked. For some odd reason I did a similar script for the back button inside the CharacterSelect screen and that one actually worked with my original script (edited for that script ofc). Whatever, thanks

    of     1