Hey everyone, I have got a animation for my open/close Gui but I have ran into one problem with the "Open" part of it. The shop shows up in a cool animation but then all the rest of my GUIs go away, I will send a video link below this so you understand the problem.
script.Parent.MouseButton1Click:connect(function() script.Parent:TweenPosition(UDim2.new(-0.2,0,0.5,0), "Out", "Back", 1, true) script.Parent.Parent.ShopGui:TweenPosition(UDim2.new(0.075,0,0.075,0), "Out", "Back", 2, true) local c = script.Parent.Parent:GetChildren() for i = 1,#c do c[i].Visible = false end script.Parent.Parent.ShopGui.Visible = true wait(1) game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid end)
https://www.youtube.com/watch?v=h3HnND-8jEE&feature=youtu.be