local i={}i.FocusedScreen=nil local D=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local m=game:GetService("\080\108\097\121\101\114\115")local I=game:GetService("\082\117\110\083\101\114\118\105\099\101")local e=game:GetService("\083\116\097\114\116\101\114\080\108\097\121\101\114")local b=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local C=script:WaitForChild("\070\117\108\108\115\099\114\101\101\110\066\117\116\116\111\110\071\117\105")local z=m.LocalPlayer local t=workspace.CurrentCamera local j=nil local M=nil local x=nil local R=nil local H=nil local d=nil local n=nil local F=false local p=0 local k="\114\098\120\097\115\115\101\116\105\100\058\047\047\057\053\057\055\053\049\057\054\054\055"local S="\114\098\120\097\115\115\101\116\105\100\058\047\047\057\053\057\055\053\049\057\050\057\057"local N=Enum.KeyCode.ButtonY local Q="\114\098\120\097\115\115\101\116\105\100\058\047\047\057\053\057\054\049\048\054\054\056\052"local h=Enum.KeyCode.ButtonB local J="\114\098\120\097\115\115\101\116\105\100\058\047\047\057\053\057\054\049\048\054\050\051\055"


local fullscreenModule = {}
fullscreenModule.FocusedScreen = nil

local TweenService = game:GetService("TweenService")
local PlayersService = game:GetService("Players")
local RunService = game:GetService("RunService")
local StarterPlayer = game:GetService("StarterPlayer")
local UserInputService = game:GetService("UserInputService")

local buttonGuiTemplate = script:WaitForChild("FullscreenButtonGui")
local localPlayer = PlayersService.LocalPlayer
local camera = workspace.CurrentCamera
local buttonGui = nil
local button = nil
local buttonTargetScreen = nil
local buttonConnection = nil
local gamepadButtonConnection = nil
local lockCameraConnection = nil
local characterCamCF = nil
local characterCamCFIsRelative = false
local transitionCount = 0

local ZOOM_IN_ICON = "rbxassetid://9597519667"
local ZOOM_OUT_ICON = "rbxassetid://9597519299"

local FULLSCREEN_GAMEPAD_BUTTON = Enum.KeyCode.ButtonY
local FULLSCREEN_GAMEPAD_BUTTON_ICON = "rbxassetid://9596106684"
local BACKOUT_GAMEPAD_BUTTON = Enum.KeyCode.ButtonB
local BACKOUT_GAMEPAD_BUTTON_ICON = "rbxassetid://9596106237"
