It's not very hard
I'll write a piece of code you can choose your own way to toggle it, Also you need to make a new frame and put everything in the GUI inside it, Make this frame transparent and of dimensions {1,0},{1,0}
frame=script.Parent.Frame
toggle=false --false = open
coroutine.resume(coroutine.create(function()
while true do
wait()
if toggled==true then
frame:TweenPosition(UDim2.new(1, 0, 0, 0), "Out", "Quad", 3, true)
else
frame:TweenPosition(UDim2.new(0, 0, 0, 0), "In", "Quad", 3, true)
end
end))
--Toggle scripting here possibly? |