local U=script:FindFirstAncestor("\110\111\100\101\095\109\111\100\117\108\101\115")if U:FindFirstChild("\064\114\098\120\116\115")then return require(U["\064\114\098\120\116\115"].roact.src)elseif U:FindFirstChild("\114\111\097\099\116")then return require(U.roact.src)elseif script.Parent.Parent.Parent:FindFirstChild("\082\111\097\099\116")then return require(script.Parent.Parent.Parent.Roact)else error("\067\111\117\108\100 \110\111\116 \102\105\110\100 \082\111\097\099\116 \111\114 \064\114\098\120\116\115\047\114\111\097\099\116 \105\110 \116\104\101 \112\097\114\101\110\116 \104\105\101\114\097\114\099\104\121\046")end
local modules = script:FindFirstAncestor("node_modules")

if modules:FindFirstChild("@rbxts") then
	return require(modules["@rbxts"].roact.src)
elseif modules:FindFirstChild("roact") then
	return require(modules.roact.src)
elseif script.Parent.Parent.Parent:FindFirstChild("Roact") then
	return require(script.Parent.Parent.Parent.Roact)
else
	error("Could not find Roact or @rbxts/roact in the parent hierarchy.")
end
