local plrs = game:GetService("Players")
local plr = plrs.LocalPlayer
local open = script.Parent.Parent:WaitForChild("Open")
local closed = script.Parent.Parent:WaitForChild("Closed")
script.Parent.MouseButton1Click:Connect(function(plr)
if script.Parent.Parent.Closed.Value == true then
local menu = script.Parent.Parent.Menu
closed.Value = false
open.Value = true
menu:TweenPosition(UDim2.new({0.017, 0},{0.051, 0}),"Out","Quint",1,true)
else script.Parent.Parent.Closed.Value = false
local menu = script.Parent.Parent.Menu
closed.Value = true
open.Value = false
menu:TweenPosition(UDim2.new({-1, 0},{0, 0}),"Out","Quint",1,true)
print ("what's wrong!?")
end
end)
so this tweens it in from the left side, changes the bools' value, prints the print but doesn't tween it away again?! tips pls?

1 comment
Just replace 'else script.Parent.Parent.Closed.Value = false' with else