of     1   

TeamZeplin
#139910816Thursday, July 10, 2014 9:07 PM GMT

So i managed to make a gui but i can't get it to open another that will have buttons to give you certain tools when you have the right stats. here is my code i use for my gui. -- In a LocalScript in StarterGui: -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Parent = script.Parent -- Create TextButton local textButton = Instance.new("TextButton") textButton.Parent = screenGui textButton.Position = UDim2.new(0, 25, 0, 300) textButton.Size = UDim2.new(0, 50, 0, 50) textButton.BackgroundColor3 = BrickColor.Red().Color textButton.Text = "Skills" script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.PlayerGui.GUI3.Visible=true end)
Sasayaki
#139912161Thursday, July 10, 2014 9:21 PM GMT

Change script.Parent.MouseButton1Click to textButton.MouseButton1Click
TeamZeplin
#139913003Thursday, July 10, 2014 9:30 PM GMT

Thanks for the code but apparently i suck at gui and can you tell me how to make the gui this code is opening to not show into the button is pushed?
Sasayaki
#139913068Thursday, July 10, 2014 9:31 PM GMT

i have no frikin idea what you just said
TeamZeplin
#139913557Thursday, July 10, 2014 9:35 PM GMT

Well i made the 2nd gui that will be opened but it shows on the screen before the button is clicked. lol
Sasayaki
#139913641Thursday, July 10, 2014 9:36 PM GMT

Set the visible property to false -.-

    of     1