local J=game:GetService("\080\108\097\121\101\114\115")local H=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local Q=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local m=require(H.Modules.fusion)local D=m.Children local n=m.New local Z=m.Value local l={"\084\101\115\116\049","\084\101\115\116\050";"\084\101\115\116\051";"\087\079\087";"\079\075";"\089\069 \084\069 \084\069 \084\069";"\068\085\071\085\068\085\071\085\068\071\085\068\117"}local z=Z(#l);(n("\083\099\114\101\101\110\071\117\105"))({Parent=J.LocalPlayer.PlayerGui;[D]={(require(H.Modules.uicomponents.Breadcrumb))({Tree=l,Index=z}),(require(H.Modules.uicomponents.Checkbox))({Tick=Z(false)})}})Q.InputBegan:Connect(function(J,H)if H then return end if J.KeyCode==Enum.KeyCode.R then z:set(#l)end end)
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local Fusion = require(ReplicatedStorage.Modules.fusion)
local Children = Fusion.Children
local New = Fusion.New
local Value = Fusion.Value

local myTree = { "Test1", "Test2", "Test3", "WOW", "OK", "YE TE TE TE", "DUGUDUGUDGUDu" }
local index = Value(#myTree)

New("ScreenGui")({
	Parent = Players.LocalPlayer.PlayerGui,
	[Children] = {
		require(ReplicatedStorage.Modules.uicomponents.Breadcrumb)({
			Tree = myTree,
			Index = index,
		}),
		require(ReplicatedStorage.Modules.uicomponents.Checkbox)({
			Tick = Value(false),
		}),
	},
})

UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
	if gameProcessedEvent then
		return
	end

	if input.KeyCode == Enum.KeyCode.R then
		index:set(#myTree)
	end
end)
