Don't tell me to turn off the filtering enabled because when I do that people exploit my game but when it is on my gui won't shop up this is the open close script can you help me

the script is:wait() local button=script.Parent local animframe=button.Parent.Parent.Animations local on=false function action() if on then animframe:TweenPosition(UDim2.new(0,-150,0,15),"In","Quad",.5,true) on=false else animframe:TweenPosition(UDim2.new(0,-10,0,290),"Out","Quad",.5,true) on=true end end button.MouseButton1Down:connect(action)

3 comments

0

Please add that to a script block :P

0

We need more information before we can help you. First put the code in a code block to make it easier for us to analyze please. We also need to know if your script outputs an error when it breaks, and if so what.

0

This link might help you construct a better question: https://scriptinghelpers.org/help/how-post-good-questions-answers