frame = script.Parent.Parent.Parent:WaitForChild("Frame") function slide() frame:TweenPosition(UDim2.new(0.325,0,0.9,0), 'Out', 'Back', 2) end wait(10) frame.Whoosh1:Play() slide() frame.TextButton.MouseButton1Down:connect(function() frame:TweenPosition(UDim2.new(0.325,0,0,0), 'In', 'Back', 1) wait(0.5) frame.Whoosh2:Play() end)
Why roblox?