---------------------------------------------------------------------------------------


local buttonsOpen = ts:Create(buttons, ti, {Position = UDim2.new(0.5, 0, 0.75, 0)})
local buttonsClose = ts:Create(buttons, ti, {Position = UDim2.new(0.5, 0, 1.2, 0)})

local titleOpen = ts:Create(title, ti, {Position = UDim2.new(0.5, 0, 0.25, 0)})
local titleClose = ts:Create(title, ti, {Position = UDim2.new(0.5, 0, -0.2, 0)})

local popupsOpen = ts:Create(popups, ti, {Position = UDim2.new(0.5, 0, 0.5, 0)})
local popupsClose = ts:Create(popups, ti, {Position = UDim2.new(0.5, 0, -0.4, 0)})

local fadeOpen = ts:Create(fade, ti2, {BackgroundTransparency = 1})
local fadeClose = ts:Create(fade, ti, {BackgroundTransparency = 0})

local versionOpen = ts:Create(gameVersion, ti, {Position = UDim2.new(0.745, 0, 0.992, 0)})
local versionClose = ts:Create(gameVersion, ti, {Position = UDim2.new(0.745, 0, 1.005, 0)})

local blurOpen = ts:Create(game.Lighting.Blur, ti2, {Size = customMenuBlurIntesity})
local blurClose = ts:Create(game.Lighting.Blur, ti2, {Size = 6})

local menuMusicOn = ts:Create(Sounds.MenuMusic, ti3, {Volume = customMenuMusicVolume})
local menuMusicOff = ts:Create(Sounds.MenuMusic, ti3, {Volume = 0})

local gameMusicOn = ts:Create(Sounds.GameMusic, ti3, {Volume = customGameMusicVolume})
local gameMusicOff = ts:Create(Sounds.GameMusic, ti3, {Volume = 0})

local menuFieldOfViewChange = ts:Create(currentCamera, ti3, {FieldOfView = customMenuBlurIntesity})
local gameFieldOfViewChange = ts:Create(currentCamera, ti3, {FieldOfView = configuration.FieldOfView.Value})
