local T=require(game.ReplicatedStorage.ReGui)T:Init()local V=(T:Window({Title="\087\105\110\100\111\119";Size=UDim2.fromOffset(350,300)})):Center()local h=V.TitleBarCanvas h:Button({Text="\083\107\105\098\105\100\105 \116\111\105\108\101\116";LayoutOrder=2,Callback=function()V:ToggleCollapsed()end})local D=h:RadioButton({LayoutOrder=1;Icon=12905962634})T:SetItemTooltip(D,function(T)T:Label({Text="\067\104\101\099\107 \103\105\116\104\117\098\046\099\111\109\047\100\101\112\116\104\115\111\047\068\101\097\114-\082\101\071\117\105\047"})end)
local ReGui = require(game.ReplicatedStorage.ReGui)
ReGui:Init()

local Window = ReGui:Window({
	Title = "Window",
	Size = UDim2.fromOffset(350, 300)
}):Center()

--// Fetch canvases
local TitleCanvas = Window.TitleBarCanvas

--// Collapse toggle button
TitleCanvas:Button({
	Text = "Skibidi toilet",
	LayoutOrder = 2,
	Callback = function()
		Window:ToggleCollapsed()
	end,
})

--// Help button
local Help = TitleCanvas:RadioButton({
	LayoutOrder = 1,
	Icon = 12905962634
})
ReGui:SetItemTooltip(Help, function(Canvas)
	Canvas:Label({
		Text = "Check github.com/depthso/Dear-ReGui/"
	})
end)
