local E=game:GetService("\080\108\097\121\101\114\115")local J=E.LocalPlayer if not J then(E:GetPropertyChangedSignal("\076\111\099\097\108\080\108\097\121\101\114")):Wait()J=E.LocalPlayer end local Z=false local y=nil local function p(E)return function(J)local Z=Instance.new(E)J.Parent=nil local y,p,K=pairs(J)while true do local E=nil local J=nil J,E=y(p,K)if not J then break end K=J if type(J)=="\115\116\114\105\110\103"then Z[J]=E else E.Parent=Z end end Z.Parent=J.Parent return Z end end local K=UDim2.new(0,80,0,58)local e=Color3.fromRGB(32,32,32)local S=Color3.fromRGB(200,200,200)local k=(function(E,J)local Z=E:FindFirstChildOfClass(J)while not Z or Z.ClassName~=J do Z=E.ChildAdded:Wait()end return Z end)(J,"\080\108\097\121\101\114\071\117\105")local u=nil local A=nil local i=nil local o=nil local r={}local function M()assert(not Z)y=(p("\083\099\114\101\101\110\071\117\105"))({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,Parent=k;(p("\073\109\097\103\101\076\097\098\101\108"))({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=K;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=e;ImageRectSize=Vector2.new(6,6),ImageTransparency=1,ScaleType=Enum.ScaleType.Slice;SliceCenter=Rect.new(3,3,3,3),ClipsDescendants=true;(p("\070\114\097\109\101"))({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),(p("\073\109\097\103\101\076\097\098\101\108"))({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=S;ImageTransparency=1})});(p("\070\114\097\109\101"))({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,(p("\084\101\120\116\076\097\098\101\108"))({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.GothamSemibold;Text="\067\097\109\101\114\097 \099\111\110\116\114\111\108 \101\110\097\098\108\101\100";TextColor3=S;TextTransparency=1,TextSize=19;TextXAlignment=Enum.TextXAlignment.Left;TextYAlignment=Enum.TextYAlignment.Center});(p("\084\101\120\116\076\097\098\101\108"))({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=S;TextTransparency=1,TextSize=15;TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Center})})})})u=y.Toast A=u.IconBuffer.Icon i=u.TextBuffer.Upper o=u.TextBuffer.Lower Z=true end function r.setCameraModeToastEnabled(E)if not E and not Z then return end if not Z then M()end u.Visible=E if not E then r.setCameraModeToastOpen(false)end end local G=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local R=TweenInfo.new(.25,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)local t=UDim2.new(0,326,0,58)function r.setCameraModeToastOpen(E)assert(Z)local J={Size=E and t or K}if E then local E=.4 else v12=1 end J.ImageTransparency=v12;(G:Create(u,R,J)):Play()local y={}if E then local E=0 else v14=1 end y.ImageTransparency=v14;(G:Create(A,R,y)):Play()local p={}if E then local E=0 else v16=1 end p.TextTransparency=v16;(G:Create(i,R,p)):Play()local e={}if E then local E=0 else v18=1 end e.TextTransparency=v18;(G:Create(o,R,e)):Play()end return r


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 function u3(p1)
	return function(p2)
		local v3 = Instance.new(p1);
		p2.Parent = nil;
		local v4, v5, v6 = pairs(p2);
		while true do
			local v7 = nil;
			local v8 = nil;
			v8, v7 = v4(v5, v6);
			if not v8 then
				break;
			end;
			v6 = v8;
			if type(v8) == "string" then
				v3[v8] = v7;
			else
				v7.Parent = v3;
			end;		
		end;
		v3.Parent = p2.Parent;
		return v3;
	end;
end;
local u4 = UDim2.new(0, 80, 0, 58);
local u5 = Color3.fromRGB(32, 32, 32);
local u6 = Color3.fromRGB(200, 200, 200);
local u7 = (function(p3, p4)
	local v9 = p3:FindFirstChildOfClass(p4);
	while not v9 or v9.ClassName ~= p4 do
		v9 = p3.ChildAdded:Wait();	
	end;
	return v9;
end)(v2, "PlayerGui");
local u8 = nil;
local u9 = nil;
local u10 = nil;
local u11 = nil;
local v10 = {};
local function u12()
	assert(not u1);
	u2 = u3("ScreenGui")({
		Name = "RbxCameraUI", 
		AutoLocalize = false, 
		Enabled = true, 
		DisplayOrder = -1, 
		IgnoreGuiInset = false, 
		ResetOnSpawn = false, 
		ZIndexBehavior = Enum.ZIndexBehavior.Sibling, 
		Parent = u7,
		(u3("ImageLabel")({
			Name = "Toast", 
			Visible = false, 
			AnchorPoint = Vector2.new(0.5, 0), 
			BackgroundTransparency = 1, 
			BorderSizePixel = 0, 
			Position = UDim2.new(0.5, 0, 0, 8), 
			Size = u4, 
			Image = "rbxasset://textures/ui/Camera/CameraToast9Slice.png", 
			ImageColor3 = u5, 
			ImageRectSize = Vector2.new(6, 6), 
			ImageTransparency = 1, 
			ScaleType = Enum.ScaleType.Slice, 
			SliceCenter = Rect.new(3, 3, 3, 3), 
			ClipsDescendants = true,
			u3("Frame")({
				Name = "IconBuffer", 
				BackgroundTransparency = 1, 
				BorderSizePixel = 0, 
				Position = UDim2.new(0, 0, 0, 0), 
				Size = UDim2.new(0, 80, 1, 0),
				u3("ImageLabel")({
					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 = u6, 
					ImageTransparency = 1
				})
			}), u3("Frame")({
				Name = "TextBuffer", 
				BackgroundTransparency = 1, 
				BorderSizePixel = 0, 
				Position = UDim2.new(0, 80, 0, 0), 
				Size = UDim2.new(1, -80, 1, 0), 
				ClipsDescendants = true,
				u3("TextLabel")({
					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.GothamSemibold, 
					Text = "Camera control enabled", 
					TextColor3 = u6, 
					TextTransparency = 1, 
					TextSize = 19, 
					TextXAlignment = Enum.TextXAlignment.Left, 
					TextYAlignment = Enum.TextYAlignment.Center
				}), u3("TextLabel")({
					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 = u6, 
					TextTransparency = 1, 
					TextSize = 15, 
					TextXAlignment = Enum.TextXAlignment.Left, 
					TextYAlignment = Enum.TextYAlignment.Center
				})
			})
		}))
	});
	u8 = u2.Toast;
	u9 = u8.IconBuffer.Icon;
	u10 = u8.TextBuffer.Upper;
	u11 = u8.TextBuffer.Lower;
	u1 = true;
end;
function v10.setCameraModeToastEnabled(p5)
	if not p5 and not u1 then
		return;
	end;
	if not u1 then
		u12();
	end;
	u8.Visible = p5;
	if not p5 then
		v10.setCameraModeToastOpen(false);
	end;
end;
local l__TweenService__13 = game:GetService("TweenService");
local u14 = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out);
local u15 = UDim2.new(0, 326, 0, 58);
function v10.setCameraModeToastOpen(p6)
	assert(u1);
	local v11 = {
		Size = p6 and u15 or u4
	};
	if p6 then
		local v12 = 0.4;
	else
		v12 = 1;
	end;
	v11.ImageTransparency = v12;
	l__TweenService__13:Create(u8, u14, v11):Play();
	local v13 = {};
	if p6 then
		local v14 = 0;
	else
		v14 = 1;
	end;
	v13.ImageTransparency = v14;
	l__TweenService__13:Create(u9, u14, v13):Play();
	local v15 = {};
	if p6 then
		local v16 = 0;
	else
		v16 = 1;
	end;
	v15.TextTransparency = v16;
	l__TweenService__13:Create(u10, u14, v15):Play();
	local v17 = {};
	if p6 then
		local v18 = 0;
	else
		v18 = 1;
	end;
	v17.TextTransparency = v18;
	l__TweenService__13:Create(u11, u14, v17):Play();
end;
return v10;
