local D=game:GetService("\080\108\097\121\101\114\115")local R=D.LocalPlayer if not R then(D:GetPropertyChangedSignal("\076\111\099\097\108\080\108\097\121\101\114")):Wait()R=D.LocalPlayer end local j=false local Y=nil local f=UDim2.new(0,80,0,58)local A=Color3.fromRGB(32,32,32)local P=Color3.fromRGB(200,200,200)local T=(function(D,R)local j=D:FindFirstChildOfClass(R)while not j or j.ClassName~=R do j=D.ChildAdded:Wait()end return j end)(R,"\080\108\097\121\101\114\071\117\105")local e=nil local k=nil local N=nil local W=nil local B={}local function Z()assert(not j,"\105\110\105\116\105\097\108\105\122\101\085\073 \099\097\108\108\101\100 \119\104\101\110 \097\108\114\101\097\100\121 \105\110\105\116\105\097\108\105\122\101\100")local D="\083\099\114\101\101\110\071\117\105"D={Name="\082\098\120\067\097\109\101\114\097\085\073";AutoLocalize=false;Enabled=true;DisplayOrder=-1;IgnoreGuiInset=false;ResetOnSpawn=false;ZIndexBehavior=Enum.ZIndexBehavior.Sibling}local R="\073\109\097\103\101\076\097\098\101\108"R={Name="\084\111\097\115\116";Visible=false,AnchorPoint=Vector2.new(.5,0);BackgroundTransparency=1,BorderSizePixel=0,Position=UDim2.new(.5,0,0,8);Size=f;Image="\114\098\120\097\115\115\101\116\058\047\047\116\101\120\116\117\114\101\115\047\117\105\047\067\097\109\101\114\097\047\067\097\109\101\114\097\084\111\097\115\116\057\083\108\105\099\101\046\112\110\103";ImageColor3=A,ImageRectSize=Vector2.new(6,6);ImageTransparency=1,ScaleType=Enum.ScaleType.Slice;SliceCenter=Rect.new(3,3,3,3);ClipsDescendants=true}local B="\070\114\097\109\101"B={Name="\073\099\111\110\066\117\102\102\101\114",BackgroundTransparency=1,BorderSizePixel=0,Position=UDim2.new(0,0,0,0);Size=UDim2.new(0,80,1,0)}local Z="\073\109\097\103\101\076\097\098\101\108"Z={Name="\073\099\111\110";AnchorPoint=Vector2.new(.5,.5),BackgroundTransparency=1;Position=UDim2.new(.5,0,.5,0),Size=UDim2.new(0,48,0,48);ZIndex=2,Image="\114\098\120\097\115\115\101\116\058\047\047\116\101\120\116\117\114\101\115\047\117\105\047\067\097\109\101\114\097\047\067\097\109\101\114\097\084\111\097\115\116\073\099\111\110\046\112\110\103",ImageColor3=P;ImageTransparency=1}B[1]=(function(D)local R=Instance.new(Z)D.Parent=nil local j,Y,f=pairs(D)while true do local D=nil local A=nil A,D=j(Y,f)if not A then break end f=A if type(A)=="\115\116\114\105\110\103"then R[A]=D else D.Parent=R end end R.Parent=D.Parent return R end)(Z)local s="\070\114\097\109\101"B=function(D)local R=Instance.new(s)D.Parent=nil local j,Y,f=pairs(D)while true do local D=nil local A=nil A,D=j(Y,f)if not A then break end f=A if type(A)=="\115\116\114\105\110\103"then R[A]=D else D.Parent=R end end R.Parent=D.Parent return R end s={Name="\084\101\120\116\066\117\102\102\101\114";BackgroundTransparency=1,BorderSizePixel=0;Position=UDim2.new(0,80,0,0),Size=UDim2.new(1,-80,1,0),ClipsDescendants=true}local h="\084\101\120\116\076\097\098\101\108"Z=function(D)local R=Instance.new(h)D.Parent=nil local j,Y,f=pairs(D)while true do local D=nil local A=nil A,D=j(Y,f)if not A then break end f=A if type(A)=="\115\116\114\105\110\103"then R[A]=D else D.Parent=R end end R.Parent=D.Parent return R end h={Name="\085\112\112\101\114";AnchorPoint=Vector2.new(0,1),BackgroundTransparency=1,Position=UDim2.new(0,0,.5,0);Size=UDim2.new(1,0,0,19),Font=Enum.Font.GothamMedium,Text="\067\097\109\101\114\097 \099\111\110\116\114\111\108 \101\110\097\098\108\101\100",TextColor3=P,TextTransparency=1;TextSize=19,TextXAlignment=Enum.TextXAlignment.Left;TextYAlignment=Enum.TextYAlignment.Center}Z=Z(h)local g="\084\101\120\116\076\097\098\101\108"h=function(D)local R=Instance.new(g)D.Parent=nil local j,Y,f=pairs(D)while true do local D=nil local A=nil A,D=j(Y,f)if not A then break end f=A if type(A)=="\115\116\114\105\110\103"then R[A]=D else D.Parent=R end end R.Parent=D.Parent return R end g={Name="\076\111\119\101\114";AnchorPoint=Vector2.new(0,0);BackgroundTransparency=1;Position=UDim2.new(0,0,.5,3),Size=UDim2.new(1,0,0,15),Font=Enum.Font.Gotham;Text="\082\105\103\104\116 \109\111\117\115\101 \098\117\116\116\111\110 \116\111 \116\111\103\103\108\101";TextColor3=P;TextTransparency=1;TextSize=15,TextXAlignment=Enum.TextXAlignment.Left;TextYAlignment=Enum.TextYAlignment.Center}s[1]=Z s[2]=h(g)R[1]=(function(D)local R=Instance.new(B)D.Parent=nil local j,Y,f=pairs(D)while true do local D=nil local A=nil A,D=j(Y,f)if not A then break end f=A if type(A)=="\115\116\114\105\110\103"then R[A]=D else D.Parent=R end end R.Parent=D.Parent return R end)(B)R[2]=B(s)D[1]=(function(D)local j=Instance.new(R)D.Parent=nil local Y,f,A=pairs(D)while true do local D=nil local R=nil R,D=Y(f,A)if not R then break end A=R if type(R)=="\115\116\114\105\110\103"then j[R]=D else D.Parent=j end end j.Parent=D.Parent return j end)(R)R=T D.Parent=R Y=(function(R)local j=Instance.new(D)R.Parent=nil local Y,f,A=pairs(R)while true do local D=nil local R=nil R,D=Y(f,A)if not R then break end A=R if type(R)=="\115\116\114\105\110\103"then j[R]=D else D.Parent=j end end j.Parent=R.Parent return j end)(D)D=Y e=D.Toast D=e.IconBuffer k=D.Icon D=e.TextBuffer N=D.Upper D=e.TextBuffer W=D.Lower j=true end function B.setCameraModeToastEnabled(D)if not D and not j then return end if not j then Z()end e.Visible=D if not D then B.setCameraModeToastOpen(false)end end local s=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local h=TweenInfo.new(.25,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)local g=UDim2.new(0,326,0,58)function B.setCameraModeToastOpen(D)assert(j)local R={Size=D and g or f}if D then local D=.4 else v48=1 end R.ImageTransparency=v48;(s:Create(e,h,R)):Play()local Y={}if D then local D=0 else v50=1 end Y.ImageTransparency=v50;(s:Create(k,h,Y)):Play()local A={}if D then local D=0 else v52=1 end A.TextTransparency=v52;(s:Create(N,h,A)):Play()local P={}if D then local D=0 else v54=1 end P.TextTransparency=v54;(s:Create(W,h,P)):Play()end return B


local l__Players__1 = game:GetService("Players");
local v2 = l__Players__1.LocalPlayer;
if not v2 then
	l__Players__1:GetPropertyChangedSignal("LocalPlayer"):Wait();
	v2 = l__Players__1.LocalPlayer;
end;
local u1 = false;
local u2 = nil;
local u3 = UDim2.new(0, 80, 0, 58);
local u4 = Color3.fromRGB(32, 32, 32);
local u5 = Color3.fromRGB(200, 200, 200);
local u6 = (function(p1, p2)
	local v3 = p1:FindFirstChildOfClass(p2);
	while not v3 or v3.ClassName ~= p2 do
		v3 = p1.ChildAdded:Wait();	
	end;
	return v3;
end)(v2, "PlayerGui");
local u7 = nil;
local u8 = nil;
local u9 = nil;
local u10 = nil;
local v4 = {};
local function u11()
	assert(not u1, "initializeUI called when already initialized");
	local u12 = "ScreenGui";
	u12 = {
		Name = "RbxCameraUI", 
		AutoLocalize = false, 
		Enabled = true, 
		DisplayOrder = -1, 
		IgnoreGuiInset = false, 
		ResetOnSpawn = false, 
		ZIndexBehavior = Enum.ZIndexBehavior.Sibling
	};
	local u13 = "ImageLabel";
	u13 = {
		Name = "Toast", 
		Visible = false, 
		AnchorPoint = Vector2.new(0.5, 0), 
		BackgroundTransparency = 1, 
		BorderSizePixel = 0, 
		Position = UDim2.new(0.5, 0, 0, 8), 
		Size = u3, 
		Image = "rbxasset://textures/ui/Camera/CameraToast9Slice.png", 
		ImageColor3 = u4, 
		ImageRectSize = Vector2.new(6, 6), 
		ImageTransparency = 1, 
		ScaleType = Enum.ScaleType.Slice, 
		SliceCenter = Rect.new(3, 3, 3, 3), 
		ClipsDescendants = true
	};
	local u14 = "Frame";
	u14 = {
		Name = "IconBuffer", 
		BackgroundTransparency = 1, 
		BorderSizePixel = 0, 
		Position = UDim2.new(0, 0, 0, 0), 
		Size = UDim2.new(0, 80, 1, 0)
	};
	local u15 = "ImageLabel";
	u15 = {
		Name = "Icon", 
		AnchorPoint = Vector2.new(0.5, 0.5), 
		BackgroundTransparency = 1, 
		Position = UDim2.new(0.5, 0, 0.5, 0), 
		Size = UDim2.new(0, 48, 0, 48), 
		ZIndex = 2, 
		Image = "rbxasset://textures/ui/Camera/CameraToastIcon.png", 
		ImageColor3 = u5, 
		ImageTransparency = 1
	};
	u14[1] = (function(p3)
		local v5 = Instance.new(u15);
		p3.Parent = nil;
		local v6, v7, v8 = pairs(p3);
		while true do
			local v9 = nil;
			local v10 = nil;
			v10, v9 = v6(v7, v8);
			if not v10 then
				break;
			end;
			v8 = v10;
			if type(v10) == "string" then
				v5[v10] = v9;
			else
				v9.Parent = v5;
			end;		
		end;
		v5.Parent = p3.Parent;
		return v5;
	end)(u15);
	local u16 = "Frame";
	u14 = function(p4)
		local v11 = Instance.new(u16);
		p4.Parent = nil;
		local v12, v13, v14 = pairs(p4);
		while true do
			local v15 = nil;
			local v16 = nil;
			v16, v15 = v12(v13, v14);
			if not v16 then
				break;
			end;
			v14 = v16;
			if type(v16) == "string" then
				v11[v16] = v15;
			else
				v15.Parent = v11;
			end;		
		end;
		v11.Parent = p4.Parent;
		return v11;
	end;
	u16 = {
		Name = "TextBuffer", 
		BackgroundTransparency = 1, 
		BorderSizePixel = 0, 
		Position = UDim2.new(0, 80, 0, 0), 
		Size = UDim2.new(1, -80, 1, 0), 
		ClipsDescendants = true
	};
	local u17 = "TextLabel";
	u15 = function(p5)
		local v17 = Instance.new(u17);
		p5.Parent = nil;
		local v18, v19, v20 = pairs(p5);
		while true do
			local v21 = nil;
			local v22 = nil;
			v22, v21 = v18(v19, v20);
			if not v22 then
				break;
			end;
			v20 = v22;
			if type(v22) == "string" then
				v17[v22] = v21;
			else
				v21.Parent = v17;
			end;		
		end;
		v17.Parent = p5.Parent;
		return v17;
	end;
	u17 = {
		Name = "Upper", 
		AnchorPoint = Vector2.new(0, 1), 
		BackgroundTransparency = 1, 
		Position = UDim2.new(0, 0, 0.5, 0), 
		Size = UDim2.new(1, 0, 0, 19), 
		Font = Enum.Font.GothamMedium, 
		Text = "Camera control enabled", 
		TextColor3 = u5, 
		TextTransparency = 1, 
		TextSize = 19, 
		TextXAlignment = Enum.TextXAlignment.Left, 
		TextYAlignment = Enum.TextYAlignment.Center
	};
	u15 = u15(u17);
	local u18 = "TextLabel";
	u17 = function(p6)
		local v23 = Instance.new(u18);
		p6.Parent = nil;
		local v24, v25, v26 = pairs(p6);
		while true do
			local v27 = nil;
			local v28 = nil;
			v28, v27 = v24(v25, v26);
			if not v28 then
				break;
			end;
			v26 = v28;
			if type(v28) == "string" then
				v23[v28] = v27;
			else
				v27.Parent = v23;
			end;		
		end;
		v23.Parent = p6.Parent;
		return v23;
	end;
	u18 = {
		Name = "Lower", 
		AnchorPoint = Vector2.new(0, 0), 
		BackgroundTransparency = 1, 
		Position = UDim2.new(0, 0, 0.5, 3), 
		Size = UDim2.new(1, 0, 0, 15), 
		Font = Enum.Font.Gotham, 
		Text = "Right mouse button to toggle", 
		TextColor3 = u5, 
		TextTransparency = 1, 
		TextSize = 15, 
		TextXAlignment = Enum.TextXAlignment.Left, 
		TextYAlignment = Enum.TextYAlignment.Center
	};
	u16[1] = u15;
	u16[2] = u17(u18);
	u13[1] = (function(p7)
		local v29 = Instance.new(u14);
		p7.Parent = nil;
		local v30, v31, v32 = pairs(p7);
		while true do
			local v33 = nil;
			local v34 = nil;
			v34, v33 = v30(v31, v32);
			if not v34 then
				break;
			end;
			v32 = v34;
			if type(v34) == "string" then
				v29[v34] = v33;
			else
				v33.Parent = v29;
			end;		
		end;
		v29.Parent = p7.Parent;
		return v29;
	end)(u14);
	u13[2] = u14(u16);
	u12[1] = (function(p8)
		local v35 = Instance.new(u13);
		p8.Parent = nil;
		local v36, v37, v38 = pairs(p8);
		while true do
			local v39 = nil;
			local v40 = nil;
			v40, v39 = v36(v37, v38);
			if not v40 then
				break;
			end;
			v38 = v40;
			if type(v40) == "string" then
				v35[v40] = v39;
			else
				v39.Parent = v35;
			end;		
		end;
		v35.Parent = p8.Parent;
		return v35;
	end)(u13);
	u13 = u6;
	u12.Parent = u13;
	u2 = (function(p9)
		local v41 = Instance.new(u12);
		p9.Parent = nil;
		local v42, v43, v44 = pairs(p9);
		while true do
			local v45 = nil;
			local v46 = nil;
			v46, v45 = v42(v43, v44);
			if not v46 then
				break;
			end;
			v44 = v46;
			if type(v46) == "string" then
				v41[v46] = v45;
			else
				v45.Parent = v41;
			end;		
		end;
		v41.Parent = p9.Parent;
		return v41;
	end)(u12);
	u12 = u2;
	u7 = u12.Toast;
	u12 = u7.IconBuffer;
	u8 = u12.Icon;
	u12 = u7.TextBuffer;
	u9 = u12.Upper;
	u12 = u7.TextBuffer;
	u10 = u12.Lower;
	u1 = true;
end;
function v4.setCameraModeToastEnabled(p10)
	if not p10 and not u1 then
		return;
	end;
	if not u1 then
		u11();
	end;
	u7.Visible = p10;
	if not p10 then
		v4.setCameraModeToastOpen(false);
	end;
end;
local l__TweenService__19 = game:GetService("TweenService");
local u20 = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out);
local u21 = UDim2.new(0, 326, 0, 58);
function v4.setCameraModeToastOpen(p11)
	assert(u1);
	local v47 = {
		Size = p11 and u21 or u3
	};
	if p11 then
		local v48 = 0.4;
	else
		v48 = 1;
	end;
	v47.ImageTransparency = v48;
	l__TweenService__19:Create(u7, u20, v47):Play();
	local v49 = {};
	if p11 then
		local v50 = 0;
	else
		v50 = 1;
	end;
	v49.ImageTransparency = v50;
	l__TweenService__19:Create(u8, u20, v49):Play();
	local v51 = {};
	if p11 then
		local v52 = 0;
	else
		v52 = 1;
	end;
	v51.TextTransparency = v52;
	l__TweenService__19:Create(u9, u20, v51):Play();
	local v53 = {};
	if p11 then
		local v54 = 0;
	else
		v54 = 1;
	end;
	v53.TextTransparency = v54;
	l__TweenService__19:Create(u10, u20, v53):Play();
end;
return v4;
