function GetScreen(Y)if Y==nil then return nil end while not Y:IsA("\083\099\114\101\101\110\071\117\105")do Y=Y.Parent if Y==nil then return nil end end return Y end

function GetScreen(screen)
	if screen == nil then return nil end
	while not screen:IsA("ScreenGui") do
		screen = screen.Parent
		if screen == nil then return nil end
	end
	return screen
end