local F=game:GetService("\080\108\097\121\101\114\115")local T=F.LocalPlayer if not T then(F:GetPropertyChangedSignal("\076\111\099\097\108\080\108\097\121\101\114")):Wait()T=F.LocalPlayer end local r=false local u=nil local function V(F)return function(T)local r=Instance.new(F)T.Parent=nil local u,V,J=pairs(T)while true do local F=nil local T=nil T,F=u(V,J)if not T then break end J=T if type(T)=="\115\116\114\105\110\103"then r[T]=F else F.Parent=r end end r.Parent=T.Parent return r end end local J=UDim2.new(0,80,0,58)local n=Color3.fromRGB(32,32,32)local D=Color3.fromRGB(200,200,200)local m=(function(F,T)local r=F:FindFirstChildOfClass(T)while not r or r.ClassName~=T do r=F.ChildAdded:Wait()end return r end)(T,"\080\108\097\121\101\114\071\117\105")local N=nil local Z=nil local M=nil local b=nil local L={}local function c()assert(not r)u=(V("\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=m,(V("\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=J;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=n,ImageRectSize=Vector2.new(6,6);ImageTransparency=1;ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(3,3,3,3);ClipsDescendants=true;(V("\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),(V("\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=D,ImageTransparency=1})});(V("\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,(V("\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=D;TextTransparency=1;TextSize=19;TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Center});(V("\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=D,TextTransparency=1,TextSize=15;TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Center})})})})N=u.Toast Z=N.IconBuffer.Icon M=N.TextBuffer.Upper b=N.TextBuffer.Lower r=true end function L.setCameraModeToastEnabled(F)if not F and not r then return end if not r then c()end N.Visible=F if not F then L.setCameraModeToastOpen(false)end end local a=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local S=TweenInfo.new(.25,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)local P=UDim2.new(0,326,0,58)function L.setCameraModeToastOpen(F)assert(r)local T={Size=F and P or J}if F then local F=.4 else v12=1 end T.ImageTransparency=v12;(a:Create(N,S,T)):Play()local u={}if F then local F=0 else v14=1 end u.ImageTransparency=v14;(a:Create(Z,S,u)):Play()local V={}if F then local F=0 else v16=1 end V.TextTransparency=v16;(a:Create(M,S,V)):Play()local n={}if F then local F=0 else v18=1 end n.TextTransparency=v18;(a:Create(b,S,n)):Play()end return L
-- 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 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
