function Window.SetIsValidInput(j,h,c)Entry.TextBox.TextColor3=h and Color3.fromRGB(255,255,255)or Color3.fromRGB(255,73,73)j.Valid=h j._errorText=c end function Window.HideInvalidState(h)Entry.TextBox.TextColor3=Color3.fromRGB(255,255,255)end

function Window:SetIsValidInput(isValid, errorText)
	Entry.TextBox.TextColor3 = isValid and Color3.fromRGB(255, 255, 255) or Color3.fromRGB(255, 73, 73)
	self.Valid = isValid
	self._errorText = errorText
end

function Window:HideInvalidState()
	Entry.TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
end
