-- Main Work --


myaccbtn.MouseButton1Click:Connect(function()
	
	
		
	myaccpage:TweenPosition(openState, 'Out', 'Sine', '1')
	deppage:TweenPosition(closeState, 'Out', 'Sine', '1')
	wthpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	trnpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	cshpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	
end)


depbtn.MouseButton1Click:Connect(function()
	
	myaccpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	deppage:TweenPosition(openState, 'Out', 'Sine', '1')
	wthpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	trnpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	cshpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	
end)


wthbtn.MouseButton1Click:Connect(function()

	myaccpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	deppage:TweenPosition(closeState, 'Out', 'Sine', '1')
	wthpage:TweenPosition(openState, 'Out', 'Sine', '1')
	trnpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	cshpage:TweenPosition(closeState, 'Out', 'Sine', '1')

end)


trnbtn.MouseButton1Click:Connect(function()

	myaccpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	deppage:TweenPosition(closeState, 'Out', 'Sine', '1')
	wthpage:TweenPosition(closeState, 'Out', 'Sine', '1')
	trnpage:TweenPosition(openState, 'Out', 'Sine', '1')
	cshpage:TweenPosition(closeState, 'Out', 'Sine', '1')

end)


cshbtn.MouseButton1Click:Connect(function()
	
		myaccpage:TweenPosition(closeState, 'Out', 'Sine', '1')
		deppage:TweenPosition(closeState, 'Out', 'Sine', '1')
		wthpage:TweenPosition(closeState, 'Out', 'Sine', '1')
		trnpage:TweenPosition(closeState, 'Out', 'Sine', '1')
		cshpage:TweenPosition(openState, 'Out', 'Sine', '1')
end)
