local function U(U,F,i)return Color3.new(U/255,F/255,i/255)end local F={Font=Enum.Font.Arial,Margin=5;Black=U(0,0,0);White=U(255,255,255)}local i={Font=F.Font;FontSize=Enum.FontSize.Size14;TextXAlignment=Enum.TextXAlignment.Left,TextColor=F.Black;TextColorOver=F.White,TextLockedColor=U(120,120,120),Height=24,BorderColor=U(216,216,216);BackgroundColor=F.White,BackgroundColorAlternate=U(246,246,246),BackgroundColorMouseover=U(211,224,244),TitleMarginLeft=15}local A={Font=F.Font;FontSize=Enum.FontSize.Size14,TextColor=U(0,0,0),TextColorOver=F.White;TextXAlignment=Enum.TextXAlignment.Left;Height=16;BackColor=F.White;BackColorOver=U(86,125,188),BorderColor=U(216,216,216),BorderSizePixel=2,ArrowColor=U(160,160,160),ArrowColorOver=F.Black}local y={BoxSize=13;BorderSizePixel=1,BorderColor=U(160,160,160);FrameColor=U(160,160,160),Size=20,Padding=4,ColorsPerRow=8;OuterBorder=1,OuterBorderColor=F.Black}wait(1)local d=script.Parent.Parent local r=d:WaitForChild("\080\114\111\112\101\114\116\105\101\115\070\114\097\109\101")local S=d:WaitForChild("\069\120\112\108\111\114\101\114\080\097\110\101\108")local z=S.GetSelection local c=S.SelectionChanged local C=r.GetApi local h=r.GetAwaiting local Y=r.SetAwaiting local D=ContentProvider.BaseUrl.."\097\115\115\101\116\047\063\105\100\061"local N=(d:WaitForChild("\083\101\116\116\105\110\103\115\080\097\110\101\108")):WaitForChild("\071\101\116\083\101\116\116\105\110\103")local m=r.Header.TextBox local V=false local G local a function searchingProperties()if m.Text~=""and m.Text~="\083\101\097\114\099\104 \080\114\111\112\101\114\116\105\101\115"then return true end return false end local function k()local U=z:Invoke()if#U==0 then return nil else return U end end


local function CreateColor3(r, g, b) return Color3.new(r/255,g/255,b/255) end

local Styles = {
	Font = Enum.Font.Arial;
	Margin = 5;
	Black = CreateColor3(0,0,0);
	White = CreateColor3(255,255,255);
}

local Row = {
	Font = Styles.Font;
	FontSize = Enum.FontSize.Size14;
	TextXAlignment = Enum.TextXAlignment.Left;
	TextColor = Styles.Black;
	TextColorOver = Styles.White;
	TextLockedColor = CreateColor3(120,120,120);
	Height = 24;
	BorderColor = CreateColor3(216,216,216);
	BackgroundColor = Styles.White;
	BackgroundColorAlternate = CreateColor3(246,246,246);
	BackgroundColorMouseover = CreateColor3(211,224,244);
	TitleMarginLeft = 15;
}

local DropDown = {
	Font = Styles.Font;
	FontSize = Enum.FontSize.Size14;
	TextColor = CreateColor3(0,0,0);
	TextColorOver = Styles.White;
	TextXAlignment = Enum.TextXAlignment.Left;
	Height = 16;
	BackColor = Styles.White;
	BackColorOver = CreateColor3(86,125,188);
	BorderColor = CreateColor3(216,216,216);
	BorderSizePixel = 2;
	ArrowColor = CreateColor3(160,160,160);
	ArrowColorOver = Styles.Black;
}

local BrickColors = {
	BoxSize = 13;
	BorderSizePixel = 1;
	BorderColor = CreateColor3(160,160,160);
	FrameColor = CreateColor3(160,160,160);
	Size = 20;
	Padding = 4;
	ColorsPerRow = 8;
	OuterBorder = 1;
	OuterBorderColor = Styles.Black;
}

wait(1)

local Gui = script.Parent.Parent
local PropertiesFrame = Gui:WaitForChild("PropertiesFrame")
local ExplorerFrame = Gui:WaitForChild("ExplorerPanel")

local bindGetSelection = ExplorerFrame.GetSelection
local bindSelectionChanged = ExplorerFrame.SelectionChanged
local bindGetApi = PropertiesFrame.GetApi
local bindGetAwait = PropertiesFrame.GetAwaiting
local bindSetAwait = PropertiesFrame.SetAwaiting

local ContentUrl = ContentProvider.BaseUrl .. "asset/?id="

local SettingsRemote = Gui:WaitForChild("SettingsPanel"):WaitForChild("GetSetting")

local propertiesSearch = PropertiesFrame.Header.TextBox

local AwaitingObjectValue = false
local AwaitingObjectObj
local AwaitingObjectProp

function searchingProperties()
	if propertiesSearch.Text ~= "" and propertiesSearch.Text ~= "Search Properties" then
		return true
	end
	return false
end

local function GetSelection()
	local selection = bindGetSelection:Invoke()
	if #selection == 0 then
		return nil
	else
		return selection
	end 
end
