Can someone tell me what is wrong with my script
It opens
local open = false
local sessiontimes = script.Parent.Parent.Parent.Parent.SessionTimesFrame
script.Parent.MouseButton1Click:Connect(function()
if open == false then
open = true
sessiontimes:TweenPosition(UDim2.new(0.319, 0,0.271, 0), "InOut", "Sine", 0.5)
else
open = false
sessiontimes:TweenPosition(UDim2.new(0.319, 0,-0.8, 0), "InOut", "Sine", 0.5)
end
end)
This is all the frames etc
Many thanks in advance