of     1   

YoBoiDevDerpy
#163829306Saturday, June 06, 2015 4:13 AM GMT

script.Parent.MouseButton1Down:connect(function(clicked) local val = script.Parent.Parent["Open/Close"] if val == false then script.Parent:TweenPosition(UDim2.new(0, 0, .5, 0),"Out","Sine",3.75) script.Parent.Parent.Frame:TweenPosition(UDim2.new(-.3, 0, .5, 0),"Out","Sine",3.75) script.Parent.Text = ">" elseif val == true then script.Parent:TweenPosition(UDim2.new(0.3, 0, .5, 0),"Out","Sine",3.75) script.Parent.Parent.Frame:TweenPosition(UDim2.new(0, 0, .5, 0),"Out","Sine",3.75) script.Parent.Text = "<" end end) I was too lazy to replae the GUI and reposition it, so I did it like this.
Wrathsong
#163834417Saturday, June 06, 2015 6:00 AM GMT

Scripters subforum
YoBoiDevDerpy
#163845960Saturday, June 06, 2015 12:47 PM GMT

this is right subforum. scripting helpers and building helpers were both merged into Game Design.
YoBoiDevDerpy
#163855356Saturday, June 06, 2015 3:23 PM GMT

ok I moved the close button into the frame and this is the current script: script.Parent.MouseButton1Down:connect(function(clicked) local val = script.Parent.Parent.Parent["Open/Close"] if val == false then script.Parent.Parent.Frame:TweenPosition(UDim2.new(-.3, 0, .5, 0),"Out","Sine",3.75) script.Parent.Text = ">" val.Value = true elseif val == true then script.Parent.Parent.Frame:TweenPosition(UDim2.new(0, 0, .5, 0),"Out","Sine",3.75) script.Parent.Text = "<" val.Value = false end end)
Wrathsong
#163868136Saturday, June 06, 2015 6:12 PM GMT

Ask Scripters Subforum
SatanVIII
#163868577Saturday, June 06, 2015 6:18 PM GMT

"local val = script.Parent.Parent.Parent["Open/Close"]"? -/I can't drown my demons they know how to swim\-
YoBoiDevDerpy
#163871386Saturday, June 06, 2015 6:53 PM GMT

nvm fixed it
ImFarley
#163872757Saturday, June 06, 2015 7:10 PM GMT

You can say all your crap about "sh and bh were merged here". That may have been the intention, but it was far from the result. This subforum is not related to scripting.

    of     1