local a=game:GetService("\080\108\097\121\101\114\115")local n=a.LocalPlayer if not n then(a:GetPropertyChangedSignal("\076\111\099\097\108\080\108\097\121\101\114")):Wait()n=a.LocalPlayer end local t=false local H=nil local O=UDim2.new(0,80,0,58)local z=Color3.fromRGB(32,32,32)local L=Color3.fromRGB(200,200,200)local N=(function(a,n)local t=a:FindFirstChildOfClass(n)while not t or t.ClassName~=n do t=a.ChildAdded:Wait()end return t end)(n,"\080\108\097\121\101\114\071\117\105")local r=nil local A=nil local i=nil local T=nil local c={}local function U()assert(not t,"\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 a="\083\099\114\101\101\110\071\117\105"a={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 n="\073\109\097\103\101\076\097\098\101\108"n={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=O;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=z;ImageRectSize=Vector2.new(6,6),ImageTransparency=1,ScaleType=Enum.ScaleType.Slice;SliceCenter=Rect.new(3,3,3,3);ClipsDescendants=true}local c="\070\114\097\109\101"c={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 U="\073\109\097\103\101\076\097\098\101\108"U={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=L;ImageTransparency=1}c[1]=(function(a)local n=Instance.new(U)a.Parent=nil local t,H,O=pairs(a)while true do local a=nil local z=nil z,a=t(H,O)if not z then break end O=z if type(z)=="\115\116\114\105\110\103"then n[z]=a else a.Parent=n end end n.Parent=a.Parent return n end)(U)local D="\070\114\097\109\101"c=function(a)local n=Instance.new(D)a.Parent=nil local t,H,O=pairs(a)while true do local a=nil local z=nil z,a=t(H,O)if not z then break end O=z if type(z)=="\115\116\114\105\110\103"then n[z]=a else a.Parent=n end end n.Parent=a.Parent return n end D={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 G="\084\101\120\116\076\097\098\101\108"U=function(a)local n=Instance.new(G)a.Parent=nil local t,H,O=pairs(a)while true do local a=nil local z=nil z,a=t(H,O)if not z then break end O=z if type(z)=="\115\116\114\105\110\103"then n[z]=a else a.Parent=n end end n.Parent=a.Parent return n end G={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=L;TextTransparency=1,TextSize=19,TextXAlignment=Enum.TextXAlignment.Left;TextYAlignment=Enum.TextYAlignment.Center}U=U(G)local w="\084\101\120\116\076\097\098\101\108"G=function(a)local n=Instance.new(w)a.Parent=nil local t,H,O=pairs(a)while true do local a=nil local z=nil z,a=t(H,O)if not z then break end O=z if type(z)=="\115\116\114\105\110\103"then n[z]=a else a.Parent=n end end n.Parent=a.Parent return n end w={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=L;TextTransparency=1;TextSize=15,TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Center}D[1]=U D[2]=G(w)n[1]=(function(a)local n=Instance.new(c)a.Parent=nil local t,H,O=pairs(a)while true do local a=nil local z=nil z,a=t(H,O)if not z then break end O=z if type(z)=="\115\116\114\105\110\103"then n[z]=a else a.Parent=n end end n.Parent=a.Parent return n end)(c)n[2]=c(D)a[1]=(function(a)local t=Instance.new(n)a.Parent=nil local H,O,z=pairs(a)while true do local a=nil local n=nil n,a=H(O,z)if not n then break end z=n if type(n)=="\115\116\114\105\110\103"then t[n]=a else a.Parent=t end end t.Parent=a.Parent return t end)(n)n=N a.Parent=n H=(function(n)local t=Instance.new(a)n.Parent=nil local H,O,z=pairs(n)while true do local a=nil local n=nil n,a=H(O,z)if not n then break end z=n if type(n)=="\115\116\114\105\110\103"then t[n]=a else a.Parent=t end end t.Parent=n.Parent return t end)(a)a=H r=a.Toast a=r.IconBuffer A=a.Icon a=r.TextBuffer i=a.Upper a=r.TextBuffer T=a.Lower t=true end function c.setCameraModeToastEnabled(a)if not a and not t then return end if not t then U()end r.Visible=a if not a then c.setCameraModeToastOpen(false)end end local D=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local G=TweenInfo.new(.25,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)local w=UDim2.new(0,326,0,58)function c.setCameraModeToastOpen(a)assert(t)local n={Size=a and w or O}if a then local a=.4 else v48=1 end n.ImageTransparency=v48;(D:Create(r,G,n)):Play()local H={}if a then local a=0 else v50=1 end H.ImageTransparency=v50;(D:Create(A,G,H)):Play()local z={}if a then local a=0 else v52=1 end z.TextTransparency=v52;(D:Create(i,G,z)):Play()local L={}if a then local a=0 else v54=1 end L.TextTransparency=v54;(D:Create(T,G,L)):Play()end return c
-- Decompiled with the Synapse X Luau decompiler.

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
